What do you mean "prevent"? If you mean vaccines didn't completely prevent transmission, then yes. If you mean vaccines didn't prevent a proportion of transmission, then no. The vaccines did significantly reduce transmission in general.
Of course the main benefit of the vaccines was a dramatic reduction in severe disease, hospital admissions and deaths.