Purely gaming - I'd go for a i5 10600K (I assume you would not go for the i9 K, but overclocking is real easy nowadays and the i5 unlocked should be cheaper than the locked i9, on AMD you can overclock all models). But if you were going to use it for either professional or hobby media work while also gaming, I'd go for AMD, then I'd probably shoot for the Ryzen 3900X. You also have the 3600 which is a good alternative both for workstation usage and gaming, it doesn't quite keep up with the 10600K overclocked in gaming nor the bigger AMD models in rendering etc, but it is the best bang for your buck in general.
If you game at 4K, then the difference between these CPUs will be drastically smaller as the GPU does most of the work.
So to summarize I'd get a 10600K if you were just going to game, spend more on your GPU than to get an i9 or a 3900X, but if you were going to game
and do work, get a 3900x. If you don't need the best of the best gaming perfomance, get a Ryzen 3600, and you'll still get great rendering performance.
See this video for a more in-depth answer
2020 CPU overview from GamersNexus.