Well its a good thing that the vaccine is so effective that people who take it don't get COVID!
Herd immunity, right!
Note that ALL vaccines have breakthrough cases among the vaccinated in a population where the disease is prevalent. This is no different with Covid.
The way to eliminate the problem is to get everyone vaccinated ensuring the population has reached herd immunity levels thereby causing Covid-19 not to be prevalent in society -- hence ending the pandemic. In the same way measles, polio, and other diseases have effectively been removed from society.
In regards to Covid -- the vaccinated breakthrough rate is under 0.5%. The worldwide vaccinated deaths are under 0.03% of those vaccinated. And over 95% of the the Covid hospitalizations and deaths in the U.S. are unvaccinated. All which serve to prove the effectiveness of Covid vaccinations.