Vaccines prevent specific diseases, they do not promise general good health.
The mistake in this thinking is that the logical -> is not bidirectional.
If X -> Y that doesn't necessarily mean that Y -> X.
Good health -> no disease X
It doesn't necessarily mean that
No disease X -> Good health