How about this then? The only thing I would add is an SSD.Every single AMD desktop chip is currently inferior to i5-8400, and the i5-8400 itself is barely worth buying over EOL intel parts with DDR3 due to the gigantic pricing disparity between ebay DDR3 systems and memory cartel's blood DDR4 (like diamonds, but more expensive).
Realistically if you are considering buying anything less than a 8600k or 8700k you would be better off with a DDR3 equipped system if you care about cost of your system at all.
https://pcpartpicker.com/list/krMRLD
The Ryzen 2000 series or the i3-8100 would be a nice upgrade from my dad's Haswell Pentium build.