At a high level, the Ryzen 7 9700X is an easy CPU to recommend. It's an eight-core part, delivering a good balance of gaming and productivity performance, and it's reasonably priced at around $320.
This processor is arguably overkill for gaming ... a premium for being a pre-built package designed to achieve the best gaming performance possible (within the limits of its specs).