The Ten Commandments is a fairly short code that is substantially
about worship, with the first three of the ten commandments
requiring believers to worship God only and the fourth requiring
observance of the Sabbath. The fifth commandment tells us to honour
our parents, which is a commandment more about family relations
than law. The next four commandments are concerned with prohibiting
murder, adultery, theft and false witness, but only as general
statements. The tenth commandment can be defined as dealing with
protecting property rights because it tells us not to covet the
property of our neighbour, but it does not tell us how to sue a
person for thinking these things.
The Code of Hammurabi is a comprehensive Babylonian law code,
dating from about 1772 BCE, making it one of the oldest deciphered
writings of significant length in the world. The laws are arranged
in orderly groups, so that everyone who read them would know what
was required under law.