I don't see any much how this is related. I remember in a book "The (Honest) Truth About Dishonesty: How We Lie To Everyone — Especially Ourselves"
There was a quote something like "We don't lock our doors because we are afraid of people stealing, we lock our doors because it is an easy way to take away the temptation to steal from a lot of people who would otherwise be honest"
Very good book and it showed via study that there is some threshold where at one point more people would be dishonest. It there would be completely no punishment for any stealing (even if non-voilent) I'm pretty sure more people would consider stealing.
TLDR; the idea of a punishment is not to completely prevent such behavior in the future in society but to reduce such behavior across whole society.
There was a quote something like "We don't lock our doors because we are afraid of people stealing, we lock our doors because it is an easy way to take away the temptation to steal from a lot of people who would otherwise be honest"
Very good book and it showed via study that there is some threshold where at one point more people would be dishonest. It there would be completely no punishment for any stealing (even if non-voilent) I'm pretty sure more people would consider stealing.
TLDR; the idea of a punishment is not to completely prevent such behavior in the future in society but to reduce such behavior across whole society.