That was true before July 2019, or, strictly speaking, between 2011 and July 2019, AMD's processors did not perform as well as Intel's in terms of game performance.
Since the launch of Intel's second generation Core processors, AMD has been under pressure, and the Wing Loong II is the last glory of AMD, which barely managed to compete with the first generation Core.
However, since the zen2-based Ryzen 3000 series launched in July 2019, AMD processors have been catching up in gaming performance. While the flagship 3000 series is still behind the i7 and i9 in gaming performance, the gap has narrowed to single-digit percentages at 2K + resolution. Especially R5 comparison can not overclocked i5 game performance can even 50/50, AMD's processor has been fully able to meet the needs of game players.
Now that the ZEN3 is on the market, the 5600X's gaming performance has beaten that of the I9's, and AMD's processors have beaten Intel's almost exclusively. Take the 5800X and 10700K models of the same 8C16T, for example. 10700K requires full core 5.2g or more with high frequency memory to barely open 50/50 with PBO 5800X, but in this state.
10700K power consumption is almost 250W, while 5800X is only 140W. Besides, the performance of 5800X except games is almost perfect. The 8-core 5800X can arm with the 10-core 10850K, which makes the toothpaste factory lose face.
In addition, AMD RX6000 series will be released soon, ZEN3 with support PCI 4.0 motherboard, plus RX6000 series graphics card, there will be a mysterious bonus, as to what this bonus is, because it is still in NDA, not released, specific is not clear. It's safe to say, though, that AMD processors are better for gaming than Intel processors with the RX6000 series of graphics cards.