The purpose of the law is to restrict people's behaviors. List penalties and punishments of different sins. It gave protections of human rights and emphasized the relationship between family and God and that there was only one God and The Lord was great and generous.
These laws are written for the Israelites
The notion of justice is similar to the notion of Hammurabi's code. It is focused on social responsibility and protections of the poor.
These laws clearly show that Israel society is rule by God. God saved people and people should glory God. The Israel society has a high morality and is ruled by laws
Hammurabi's Code of Laws
The main purpose of Hammurabi's Code is to help the king to rule the country more easily and protect the slavery system and rights of the king and aristocrats. These rule also help to decrease conflicts among people and maintain social stability. It also protecting property like slaves and livestock). It stated how to trade and marriage contracts. Law regulates how to do your job. Different punishments for killing of slaves, injuring of slaves, and healing of slaves.
There are three classes of people defined by Hammurabi's code: free men, slaves and free men with rights. Code of Hammurabi is written for these people.
The justice of these laws are based on “an eye for an eye, a tooth for a tooth"
These laws reflect that Babylonian society is severe polarized and unequal. Female has less rights than male. However, there are still protections for women. The king and the upper-class used these laws to rule the slaves. The society is highly ruled by laws. Justice as a divine command from God. Hammurabi described himself as the righteous rulers and loyal to gods
The laws help Hammurabi to preserve posterity. The religion plays a role in Hammurabi society as laws handed down from Gods.