As has been mentioned a couple of times, the Intel 8400 is a great Cpu for the price. 6 cores, good price. I'd look at something like this:
PCPartPicker part list:
https://pcpartpicker.com/list/mK997W
Price breakdown by merchant: https://pcpartpicker.com/list/mK997W/by_merchant/
CPU: Intel - Core i5-8400 2.8GHz 6-Core Processor ($199.79 @ OutletPC)
Motherboard: ASRock - H370 Pro4 ATX LGA1151 Motherboard ($87.99 @ SuperBiiz)
Memory: G.Skill - Ripjaws V Series 16GB (2 x 8GB) DDR4-3000 Memory ($154.99 @ Newegg)
Total: $442.77
Prices include shipping, taxes, and discounts when available
Generated by PCPartPicker 2018-07-28 20:38 EDT-0400
Amd isn't a slouch this generation either, for them I'd look at something like:
PCPartPicker part list:
https://pcpartpicker.com/list/fycXvn
Price breakdown by merchant: https://pcpartpicker.com/list/fycXvn/by_merchant/
CPU: AMD - Ryzen 5 2600X 3.6GHz 6-Core Processor ($223.29 @ SuperBiiz)
Motherboard: MSI - X470 GAMING PLUS ATX AM4 Motherboard ($129.99 @ Amazon)
Memory: G.Skill - Ripjaws V Series 16GB (2 x 8GB) DDR4-3000 Memory ($154.99 @ Newegg)
Total: $508.27
Prices include shipping, taxes, and discounts when available
Generated by PCPartPicker 2018-07-28 20:43 EDT-0400
Both setups will do really well with a 1060 6gb and will keep you gaming for years to come.