Although it's not perfect, it still prevents many, many infections, and even if you should get influenza despite having received the vaccine, it tends to make a less severe infection. You are certainly less likely to get the complications of pneumonia, having to be hospitalized and dying.