you need to be more specific. while on “average” the ryzen 5000 chips would be better than 3000 , it really depends on the specific chips you are comparing. e.g. a Ryzen 7 3700x to a Ryzen 5 5600x is not a huge leap in performance. but a Ryzen 5 3600x to a Ryzen 7 5800x would be.
for anything VR related though the GPU matters much more to be honest, as you are rendering the game twice essentially. If you have something like a Ryzen 7 or 9 from 3000 series I would not bother upgrading to 5th gen to be honest.
the gains would be marginal.
if you had a lower end ryzen 3rd gen chip then its worth looking into it