AMD and Intel both have their strengths. Budget will always be a limiting factor, but your apps will also dictate whether you should focus on cores or core speeds. And don't forget about power draw and thermals.
AMD Ryzen 7 9800X3D
When KitGuru reviewed AMD’s Zen 5 Ryzen 7 9700X we advised that you wait until they launched the inevitable 3D version of the CPU, as we were sure it would be a banger. What we didn’t know then was that AMD had a new version of 3D V-Cache in the works that would move the dial significantly. Locating the 3D V-Cache under the CPU cores, instead of laying it on top, gives a boost to clock speeds and also helps temperatures.