But what if you don't want a gaming PC? Both these chips require a standalone graphics card, which currently is the Nvidia GT710 at US$35-37. This is a terrible excuse for a graphics adapter, but the more reasonable GT1030 starts at roughly US$75. An i5-9400 CPU (including IGP) costs me US$181, which compares with US$188 for the Ryzen 2600 + GT710 combo. I could well be wrong, but I suspect the Intel IGP is superior to a GT710.
In fact, nowadays if you don't want a gaming PC I'm not seeing much reason not to get a CPU with an IGP.