Purpose of the build?
Home/office PC: you could save some money and just do an APU-only build with either a 2200G/3200G or 2400G/3400G.
Gaming:
-i5-9400F: forget you even saw that one. Terrible option in 2020 - just walk away... You'd best go Ryzen, as Intel doesn't have any decent options for folks on a small budget; all the good options are $$$.
-GTX 1650: GTX 1650 Super, RX 5500XT, or RX 570 & 580 - the 570 & 580 can be had even cheaper 2nd hand(if it's even an option). Warning: the RX 580 does not play nice with cheap junk psus...
-16GB ram: dual channel, I hope, and none of that single stick mess...
Cpu: Ryzen 3300X, 3100, 1600AF(12nm)
Motherboard: Msi's B450 MAX models, or the Asrock B450M A/C
Ram: Dual channel, 3200mhz is the sweet spot.
Gpu: The already mentioned cards.
Psu:
Corsair CX or TX.
Thermaltake Toughpower
Cooler Master MWE V2 <- it has to be version 2, the older model sucks.
Antec Neo Eco Zen