Amd cpus are very good about self preservation. Basically it thinks 'we have this load, at these current temps and this voltage so we'll assign this amount of boost to the required cores' . Might be 4.82GHz at 60°C. But then you game for a while, things get hotter in the case, you really start getting into intense scenarios and temps climb towards 80ish°C. By then the cpu has decided that's getting a little warm, so backs off on the boost to 4.76GHz instead on 2 of the 4 cores used. Not something you'd notice realistically.
But temps climb anyway, getting to 90°C, at which point the cpu rethinks the whole boost thing, and starts actively dropping boosts across all cores. If temps go down, it stops dropping and levels out. If temps keep climbing, it keeps dropping until it can't. At that point it'll give up the ghost, say 'see-ya' and shut down. Zero damage.
Unless you do something dumb like treat the Ryzen like an intel, and force a static OC at high voktages. Then it'll ramp to 90°C ish, then decide its too warm or voltages are far too high and if killing the OC doesn't work, it shuts down. Still Zero damage.
Ryzens don't care about what temps You think are good, bad or indifferent, it only cares about what temps It thinks are good, bad or indifferent. It won't let temps hurt itself.