You would think that, but there was a smallpox epidemic in Montreal in 1885 where vaccination became mandatory, and people rebelled against that, attacked pharmacies selling the vaccine, etc.
https://fr.wikipedia.org/wiki/%C3%89pid%C3%A9mie_de_variole_...
(in french)