The prologue or introduction to the list of laws is very enlightening. Here, Hammurabi states that he wants "to make justice visible in the land, to destroy the wicked person and the evil-doer, that the strong might not injure the weak." The laws themselves support this compassionate claim, and protect widows, orphans and others from being harmed or exploited.
Hammurabi's Code: Fair or Cruel?
If anyone is to bring an accusation against another man, and the accused go to the river and leap into the river, if he sinks in the river his accuser shall take possession of his house.
Hammurabi - Detail: Law Code of Hammurabi, -1750 Trivium Art History
The Code of King Hammurabi was a list that contained the 282 laws of Babylon; the most notorious law from this code called for an eye-for-an-eye approach to justice....