7600x has superior single core performance but i5 13500 is
noticeably faster when it comes to cpu heavy aplications
for productivity i5 13500 is a superior cpu (generally speaking)
however aplications which favour less cores and higher clock speeds will run better on 7600x .
for gaming alone the 7600x is a superior choice .
it is also worth to mention that 13500 benefits a lot from fast DDR5 memory ,
pairing it with DDR4 memory will hinder its performance
this is a good test :
View: https://www.youtube.com/watch?v=77Xdpmwh8S0&ab_channel=HardwareUnboxed
AM5 is a better platform overall (in a sense of future upgradability)
if you want the best from both worlds you may consider paying a
little...