It was just a matter of time - AMD did well condering all.
HOWEVER without Intel being stuck at 14nm _and_ AMD using TSMC 7nm - AMD would never have been able to do what they did. Ryzen 1000 and 2000 on GloFo was nothing special at all however it delivered an alternative to Intel which even the most hardcore AMD fanboys had joined, because FX CPUs were pretty much garbage.
With 3000 series Ryzen became decent, with 5000 series they become good. This is mostly because of going from GloFo 12nm (which is far worse than Intel 14nm in every aspect) to TSMC 7nm.
AMD have beaten Intel and even Nvidia before but Intel and Nvidia always came back and took the crown. Which resulted in AMD lowering prices and went back to the drawing board. Just look how AMD priced 5000 series compared to 1000/2000 and somewhat 3000 series. AMD started milking just like Intel did for ~10 years. AMD left NON-X models and generally priced all the chips way higher than before.
I own 2 Ryzen machines (htpc + nas/server) and 1 Intel (gaming rig) so you can stop the fanboy BS. I even own two consoles, so I actually have 4 AMD chips in my home... However I also have 3 intel laptops So I guess it's 50/50
truth. I was very happy when Zen3 came out on top. Now we need Alder Lake to beat zen3 and zen4 to beat Alder Lake. Hopefully when the chip supply catches up to demand we’ll get better performance AND better pricing as amd and intel start to compete.