The point is that they best reflect the reality of people's lives. And as this reality chnages, from a stone age to the 21st century, so do these laws.
There are lots of countries where murder is law, including Syria, look:
http://en.wikipedia.org/wiki/Use_of_capital_punishment_by_nation...