The world was lucky the omicron mutation chose virulence over lethality - it could outcompete the older, more “effective” strains. This coupled with vaccines, isolation and antivirals (and treatment changes) kept the count down.
A different roll of the mutation dice might have made a sars that spread easily. That would have thinned out the middle aged folks.