New CPU

I currently have a Ryzen 5 7500F with a 7800XT and ASUS TUF GAMING B650M-E

I want to upgrade the CPU and was thinking a Ryzen 9 9700x or 7800x3d for x264 recording but I was wondering if there is a better value/better CPU for temps or not since I am not into the idea of water cooling. I also do not intend to do any overclocking, thank you :)