Question Need help on what's better

jmgwapo1

Prominent
Aug 15, 2018
19
0
510
Should i get an i5 9400f + b360m aorus pro + 8x2 2666mhz ram which costs around $462 or ryzen 5 2600 + msi b450 gaming plus + 8x2 3000mhz ram and costs $485. I am going to use it mainly for gaming and also for work.