If you believe that people do not kill because it is illegal, you are on a shaky ground mon ami.
People understanding the negative consequences of potential actions is a bedrock of society.
If a person is not amenable to acting out of compassion for others, they should at least have a fear of the repercussions for being violent towards them.