https://www.tomshardware.com/reviews/cpu-hierarchy,4312.html
Latest benches have AMD and Intel winning in about the same number of tests.
By their own tests later AMD has top 4 positions for both single-threaded and multi-threaded workloads. Intel came out with their Rocket lake line of CPUs after Ryzen 5000 and Rocket lake can't match up.
Even before Ryzen 5000, anything that wasn't single-threaded Intel could never beat; and had way worse performance per watt.
Maybe you are confused because Threadripper is at the top in some above the 5000 series?
AMD is killing it with the 5000 series, but it's just barely edging out Intel in these benchmarks. The whole 2x figure was a little absurd.
I believe it took until Zen 2 for the AMD high end to beat the Intel high end in multithreaded perf, and until Zen 3 for AMD to take the single threaded perf crown across the board too.
Although it's hard to say whether that was a direct response to the threat from AMD or not.