AMD processors are definitely finally the best gaming and general purpose CPUs again at the moment. I would only really recommend Intel for productivity because they do still offer some advantages for things like video editing, 3D rendering etc. GPU wise try to get a 2070 instead of a 2060 because it's more like a cheaper 2080 and will future proof you if you decide to upgrade to 4k monitors in thr future. However if you can find a reasonable second hand 1080 they actually outperform the newer 2080 in some tests.. although they seem to be commanding more second hand than they were new at the moment.

CPU I'm not 100% sure on the best AMD ones to get at thr moment because they keep releasing new models. If I were going Intel I would only invest in an i7 or i9 because they offer far more over the i5. But you are paying 3 sometimes 4 times thr prices of a similar performing AMD CPU so it really isn't worth it.