if you have good ddr4 desktop ram, both are overhyped
get a used i7 14700k + used Z790 (ddr4 version not ddr5), in this situation many ram's can be overclocked to top ddr5 speeds and its about as fast as a 7800x3D
or you could use a
>Xeon ES chip>Ebay used server parts>Aliexpress hacked motherboard for overclocking(you WILL watch this autists review about the specs of every single chinese motherboard before buying doe
https://www.youtube.com/@Miyconst/videos )