LawSlaveryEthicsJustice

How Do Hebrew Laws on Slavery Compare to the Code of Hammurabi?

Compare Exodus laws with Babylonian codes—see how biblical ethics transform ancient norms.

By Scott Smith, OT in Context · Published 2025

Timeline Focus: 1400 BCE

The Surprising Reality

The Code of Hammurabi punishes runaways with death. Exodus offers release in the seventh year—and freedom for injury.

🤔The Context Question

But here's what most people don't realize: biblical laws offered protection and dignity foreign to most ancient codes.

📚What We Know

Exodus 21 protects female servants, grants Sabbath rest, and forbids abusive punishment. A side-by-side comparison shows how Israel's law reflects God's justice in a broken world. 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 inherent dignity afforded to individuals within the Hebrew legal framework, contrasting sharply with Hammurabi's harsher penalties for slaves and runaways, which often included death.

Moreover, the Hebrew law includes the principle of release in the seventh year, as detailed in Deuteronomy 15:12-18. This provision not only offers a path to freedom but also emphasizes the importance of rest and renewal, reflecting God's design for humanity. In contrast, the Code of Hammurabi lacks such a restorative mechanism, instead perpetuating cycles of servitude without hope for liberation.

The ethical motivations behind the Hebrew laws further distinguish them from their Babylonian counterparts. The reminder in Exodus to "remember you were slaves in Egypt" 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 imbues the laws with a sense of divine authority and moral obligation that is absent in Hammurabi's royal decrees.

The relationship between the two legal traditions 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 by social class while Mosaic law applies uniformly, and Hammurabi grounds authority in royal decree while Moses grounds it in covenant with Yahweh. 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 1400 BC and see exactly what justice looked like—discover how Scripture reshaped slavery law.

Explore Interactive Timeline & Map

See the complete historical context with our interactive map and timeline

🔗Related Topics

document

Exodus 21

Explore in interactive app →

artifact

Code of Hammurabi

Explore in interactive app →

📖Biblical References

📜Exodus 21:1–11📜Deuteronomy 15:12–18

Scripture references supporting this historical context