We can't stop genuinely sick people from committing crimes because they want to, but it is entirely possible to reduce the motivation for many crimes.
Removing motivation is usually about economics, policy, removing access or ability, and whatever the word is for making it hard via structures (example: a company with a culture of 'look the other way' will make it easy to commit white collar crimes).
Combine that with a rule of law which treats all people equally and ensures that even small offenders get caught will make most people not consider it. The 'punishment' need not be harsh as long as the perpetrator is found. There is good evidence that it is the likelyhood of being being caught that deters crime much more than the sentence.
The first thing we could do is remove laws which make people criminals for doing things that are not viewed as criminal. One of the reasons prohibition was so terrible for American culture was that it make most adults into de facto criminals for doing something they viewed as normal. Once everyone is a criminal then many people are acclimated to it and see all laws as 'if I don't get caught, then who cares?'.
That said, if someone really wants to rape someone no law in the world is going to stop them from doing it, and someone who is in a jealous rage will not be pacified by laws either.
Removing motivation is usually about economics, policy, removing access or ability, and whatever the word is for making it hard via structures (example: a company with a culture of 'look the other way' will make it easy to commit white collar crimes).
Combine that with a rule of law which treats all people equally and ensures that even small offenders get caught will make most people not consider it. The 'punishment' need not be harsh as long as the perpetrator is found. There is good evidence that it is the likelyhood of being being caught that deters crime much more than the sentence.
The first thing we could do is remove laws which make people criminals for doing things that are not viewed as criminal. One of the reasons prohibition was so terrible for American culture was that it make most adults into de facto criminals for doing something they viewed as normal. Once everyone is a criminal then many people are acclimated to it and see all laws as 'if I don't get caught, then who cares?'.
That said, if someone really wants to rape someone no law in the world is going to stop them from doing it, and someone who is in a jealous rage will not be pacified by laws either.