How are you comparing the CPUs to say AMD is faster?
The multi-core performance is usually what is displayed in benchmarks, but in many cases the single core performance is much more important, especially in gaming. Some of the newest AAA games can fully use an 8 core CPU, but the vast majority do not. Usually only specific productivity programs can do that, the rest of the programs usually do better with faster cores.
Intel's strength is in core speed. Even my 5 year old 4th gen i5 keeps up with the 2nd gen Ryzen chips in gaming because of the core speed. When I bought it, it was cheaper than AMD's best chips, and about 50% faster. So where people say AMD is faster for the price, it often isn't, if you need core speed or gaming performance.
But, right now if all you're doing is playing the latest games, then a Ryzen usually provides the 60 FPS that people want. If you're trying to get 144 Hz, the Ryzen chips will struggle. I also like how AMD's motherboards support more generations of chips, I think that alone makes it a good reason to get into Ryzen chips right now.
Ah yes, there is also that factor that AMD's FX chips were not very impressive but that's all they had for years, so Intel's market share increased significantly over those years. It's good to see AMD's chips are more competitive these days.