To my knowledge (which can be wrong), vaccinated people do have a much less chance to get infected, and if infected on average have a much less viral load (thats whey they don't get as sick). As a consequence, they are less contributing to spreading the virus than unvaccinated people. And as they get less often seriously sick, they also reduce the load onto the health sytem.