Of course vaccines don’t prevent you from catching the virus, that is not how they work. They train your immune system so it’s better at fighting the virus when it enters your body.
This reduces the chances of your immune system being overwhelmed by the virus, reduces your recovery time, reduces your symptoms, and therefore reduces the chances of you spreading it to other people.
This reduces the chances of your immune system being overwhelmed by the virus, reduces your recovery time, reduces your symptoms, and therefore reduces the chances of you spreading it to other people.