Yeah, you’re right.
But we don’t live in a desert island, you’re starting we a false premise and then the rest of the argument fails.
With vaccination you make indivuals stronger in front or certain infections, and the society as a whole too as those that cannot be vaccinated for proper health reasons have a smaller chance of being infected.
Also, that the reason you’re not mandated to take all available vaccines depending on the risks on your region. I.e. yellow fever.
If humans had perfect immune systems vaccines wouldn’t be necessary either.