In most countries there are laws that are designed to shape the behavior of the citizens.
Let's take the speed limit that most countries have as a part of the transportation laws, how many people do you know that consistently follow these rules?
Do the people who actually follow it do it out of respect to the rules or fear of punishment? I don't think so.
I find that people obey rules that they agree with, the kind of rules that makes sense to them and are considered morally right.
I guess most of us will not murder anyone even if there were no rules that forbid it.