Gaming speed, cores and clocks
The Ryzen 7 8700G and the Core i5-13500 are within a few percent of each other for gaming. In a game, you will not see the difference.
The Ryzen 7 8700G has 8 cores and 16 threads, and the Core i5-13500 has 14 cores and 20 threads. The extra cores of the Core i5-13500 help with video editing, streaming while you play and heavy multitasking more than with the game itself. Boost clocks are 5.1 GHz and 4.8 GHz.