The death toll and consequences of widespread long covid (and consequences of much more rapid mutation and the collapse of the medical system) would have caused significantly more economic damage than the lockdowns.
Not just death. If you have severe illness but survive, you're likely to have continued health problems for life. And even if it doesn't hit you, you might bring it home to someone you care about.