The risk of death from covid itself varies a lot and varied a lot particularly depending on how overwhelmed hospitals were. Covid is not ebola or smallpox, the risk evaluation is much more subtle.
It's more about weighing aggregated low-probability side effects and unknown long-term health effects against overwhelming hospitals, damage caused by long Covid, and continued stress for society in general under quarantines and lockdowns.
Whether the right decisions were made will only be clear in hindsight and after a lot of study. That or we all turn into zombies.