This is not true. Some vaccines confer sterilizing immunity, others just prevent the disease associated with the virus. Some are in between, and very few protect 100%. Polio vaccine (IPV) is a good example of a vaccine that does not prevent infection by the poliovirus, but prevents poliomyelitis, the associated disease.
People are setting unreasonable and unattainable expectations for COVID vaccines. They were never going to provide sterilizing immunity for 100% of people.
Then cease and desist with any demands that those who get this shot are free to go about their lives as if they had no risk of infection, transmission, or even death from this virus.
People are getting this shot with the belief that it is protecting them from getting or transmitting the virus; not only are they still spreading it, some of them are dying from it.