I mean basically what you did.
The thing is you probably upgraded also from Big Sur to Monterey and the same going back some years as nee OS are released.
Over time software is installed and you end up in Ventura possibly with things that used to work in, say, El Capitan.
Some of those things may cease to work properly and can cause problems in newer OS.
I am convinced that this is the case.
The longer but safer alternative that I always recommend (and I do practice what I preach, so to speak) is to do a clean install each year when upgrading to a major new version.
This involves:
a) making a full backup
b) creating an installer disk on a usb thumb drive
c) booting from this installer drive, erasing the internal drive completely
d) installing
e). Migrating thd user accounts- and nothing else! - from the backup
f) installing any applications needed
It sounds like a lot of work but it pays off by getting you a fresh and stable mac.