That is not how any vaccine works. A vaccine decreases the chance of a catching a disease, it does not eliminate it.
The way the disease is eliminated is by getting as large a fraction as possible of people vaccinated, so that spread is stopped.
Surely this is not the first time you have heard of herd immunity?