In 1900, there was a smallpox outbreak in London. Mortality among unvaccinated cases was 30%.
For those living then who caught smallpox but who were vaccinated as infants, including those vaccinated in or before 1850, the mortality was 3%.
As in its effectiveness wanes in time. I’m not saying vaccines are useless.