It means that sometimes, the punishment meted out to a criminal is so severe and traumatic, or maybe just unpalatable, that the offender is forever deterred from committing a crime again for fear of being given the same punishment.
Didn't find the answer you were looking for?