No punishment has ever possessed enough power of deterrence to prevent the commission of crimes. On the contrary whatever the punishment once a specific crime has appeared for the first time its reappearance is more likely than its initial emergence could ever have been.
I worked at an ice cream parlor called Chadwicks. We wore old-timey outfits and had to bang a drum play a kazoo and sing 'Happy Birthday' to people while giving them free birthday sundaes. Lots of ice cream scooping and $1 tips.