The effectiveness of seasonal Influenza vaccination depends on two things. First we have to guess which Influenza strains to vaccinate against, if we guess the wrong strains then it doesn't much matter that you're immune because you got a different strain anyway. Second the virus drifts even if we guess perfectly and it might evade the vaccine.
When you get the jab, both these things are still hard or impossible to know, so as long as the side effects of vaccination remain very mild for almost everybody it's worth a shot (pun intended). Some years it works very well indeed.
It's worth distinguishing between deaths due to measures imposed to manage the pandemic (which we could have hypothetically avoided by just allowing the pandemic to run its course, presumably killing millions more people) and those due to direct consequences of the pandemic which you can't avoid except by hypothesising "What if magically this virus didn't exist?". For example hospitals get overrun with patients and withdraw all but emergency care, resulting in excess deaths, but you can't wish that away. Or people are too scared of the virus to seek help so they die unnecessarily, again nowhere (except maybe China at the extreme?) told people "You must not leave your home to escape a violent partner" or "Don't call an ambulance if you have a heart attack, you might get infected" so those deaths aren't a result of a policy decision they're a consequence of the pandemic itself.