The Surprising Reality
The Code of Hammurabi puts to death anyone who hides a runaway slave, while Deuteronomy forbids handing a runaway back to his master. Exodus offers release in the seventh year, and freedom for a servant his master maims.
The Context Question
Biblical law gave servants protections Hammurabi's code did not, such as freedom for a servant whose master maims him and refuge for a runaway slave.
What We Know
Exodus 21 protects female servants, sets a Hebrew servant free in the seventh year, and frees a servant whose master destroys an eye or a tooth. The laws governing slavery in the Hebrew Scriptures stand in stark contrast to those found in the Code of Hammurabi. While Hammurabi's code, which dates back to around 1750 BC, outlines a rigid legal structure that often favors the elite, the Mosaic law emphasizes compassion and ethical treatment, particularly for the vulnerable.
For instance, Exodus 21:7-11 specifically addresses the rights of female servants, ensuring they are not treated merely as property. If a master takes a woman as a wife, he must provide for her needs, and if he fails to do so, she is granted the right to leave. This provision highlights the dignity afforded to individuals within the Hebrew legal framework, contrasting sharply with Hammurabi's laws, which put to death anyone who helped a palace slave or a commoner's slave escape through the city gate or hid such a runaway (laws 15-16) and cut off the ear of a slave who denied his master (law 282).
Moreover, Deuteronomy 15:12-18 repeats the release in the seventh year. This provision not only offers a path to freedom but also requires the master to furnish the departing servant liberally from his flock, threshing floor and winepress, as the LORD has blessed him (Deuteronomy 15:13-14). Hammurabi's code also limits debt service, freeing a debtor's family after three years of work (law 117), but nothing in it matches this command to send the freed servant away with gifts.
The reminder in Deuteronomy 15:15, "You shall remember that you were a slave in the land of Egypt, and the LORD your God redeemed you," serves as a foundational principle that informs the treatment of others, urging the Israelites to extend the mercy they received from God to those in their care. This covenantal relationship with Yahweh grounds the laws in the LORD's own words to Israel, while Hammurabi, though he says the gods called him to bring righteousness to the land, issues the laws in his own name as king.
The relationship between the two law collections raises a question the texts themselves do not answer: why the structural similarities coexist with such fundamental differences in principle. Both codes address ox-goring liability, deposit law, and slave treatment using recognizable legal forms. Yet Hammurabi's penalties scale across three social classes, while Mosaic law, though it still treats the servant differently from the free man, frees a servant whose master maims him (Exodus 21:26-27), and in the goring-ox law it applies the same rule whether the victim is a man, a woman, a son or a daughter (Exodus 21:28-31). Whether these parallels reflect direct literary contact, a shared scribal education tradition, or independent responses to the same practical problems of settled agricultural life remains debated. What the comparison establishes is that Mosaic law was not composed in cultural isolation: it used the legal vocabulary of its world to make claims that were recognizably legal and distinctly theological.
Explore the Full Context
Jump to 1446 BC and compare the law given at Sinai with Hammurabi's code, and see how Scripture reshaped slavery law.
Explore Interactive Timeline & MapSee the complete historical context with our interactive map and timeline
Related Topics
- Sinai Covenant
- Code of Hammurabi
Biblical References
Scripture references supporting this historical context