Moses-Hammurabi-code

Short answer: The Code of Hammurabi is a Babylonian legal collection from roughly the eighteenth century BC, inscribed on a stele and presented as royal justice from King Hammurabi. The Law of Moses, beginning at Exodus 20:1 with the Ten Words and then expanding into the case laws of Exodus 21 through 23, is presented as covenant instruction from Yahweh to a redeemed people. There are real similarities: both use case-law forms, both address theft, injury, and property, and both set penalties. But the differences are deeper. Israel's law begins with redemption and exclusive worship, protects even the vulnerable with equal standing before the bar, and grounds motive in love for God and neighbor. Hammurabi's code grounds justice in the king's authority and reflects a sharply stratified society.

Two ancient law collections, one obvious question

Anyone who reads the ancient Near East even casually will notice that Israel was not the only society with written laws. The Code of Hammurabi predates Moses by centuries, and other collections from Ur, Eshnunna, and the Hittites also survive. Their presence raises a fair question. Did Moses borrow from Hammurabi? The question is not hostile; it is the kind of question careful readers ask.

The answer that best fits the evidence is that the Mosaic Law shares the common legal furniture of the ancient world while transforming its foundations. Ancient kings wrote laws. Israelites received law from God. Ancient codes served to legitimize a monarch. Israel's law served to define a covenant relationship. A shared genre does not settle the question of origin or authority, any more than two modern constitutions being written as constitutions means one copied the other.

Exodus 20:1 opens the whole matter in a way no Babylonian document could: God spoke all these words, saying. The law is not a royal pronouncement mediated through a priestly scribe to a subject population. It is divine speech addressed to a people already rescued. That opening line is doing theological work before a single commandment is given.

The case-law form is not unique to Israel

Exodus 21:1 begins, Now these are the ordinances which you shall set before them. What follows is a series of conditional rules: if a man does this, then that shall be done. This form is technically called casuistic law, and it appears all over the ancient Near East. Hammurabi's code uses it repeatedly. This is one of the strongest apparent parallels between the two collections.

But the form is a tool, not a theology. Every legal system that has ever existed uses conditional rules because life is full of contingent situations. What matters is the content of the rules and the authority behind them. Two doctors may write prescriptions in the same format; that does not mean they share a diagnosis or a patient. Form is the container, not the message.

It is also worth noticing that Israel's case laws sit inside a narrative framework. They follow the Ten Words, which follow the exodus. They are not an abstract code dropped from the sky. They are instructions for a particular people in a particular place, told to live out a covenant they have already entered. That narrative embedding is one of the most distinctive features of Exodus 21 through 23 compared with any other ancient collection.

Where the penalties and protections diverge

Both collections care about theft and property. Exodus 22:1 says, If a man steals an ox or a sheep, and kills it or sells it, he shall pay five oxen for an ox, and four sheep for a sheep. Hammurabi's code also sets restitution schedules for stolen livestock. The general concern is shared. But the operating assumptions underneath differ sharply.

Hammurabi's code distinguishes penalties by social class. A wrong done to a free citizen and a wrong done to a commoner or slave carried different consequences. Israel's law knows social distinctions, but it repeatedly refuses to let class determine the value of a human being. The slave and the free, the foreigner and the native, the poor and the rich all appear before the same standard. That is a real ethical difference, not a minor variation.

Take the famous lex talionis. Exodus 21:24 states the principle of an eye for an eye. It is often misread as a license for vengeance. In its ancient setting it was a limit on retaliation, capping what a wronged party could exact. Hammurabi's code has similar provisions, but Israel's appears within a system that also commands love for the resident alien and forbids oppression of the poor.

Covenant motive versus royal authority

The deepest difference between the two collections is the reason given for obedience. Hammurabi's stele presents the king as the divinely appointed shepherd who brings justice to his people, and the laws serve to legitimize his reign. The gods are invoked as witnesses. But the law itself is the king's word. His authority is the engine.

Israel's law is different in kind. The Ten Words begin with a declaration of redemption. Before any command is given, Israel is told who God is and what he has done. The commands then flow out of that identity. Obedience is covenant loyalty, not submission to a monarch's decree. The motive is gratitude and love, not fear of a king's enforcers.

Exodus 20:2 states the preamble clearly. The lawgiver identifies himself by his saving act. Hammurabi identifies himself by his conquests and his temple building. That contrast runs through both collections and shapes everything from the treatment of slaves to the handling of disputes. A law that begins with redemption will treat people differently than a law that begins with royal administration.

How the two codes treat human life

Both collections assign the death penalty for certain offenses. Both protect life. But the scope of protection differs. In Hammurabi's code, the value of a life is calibrated to social rank. A wrong against a noble and a wrong against a commoner carry different weights. Justice is real, but it is stratified.

Israel's law prohibits murder without qualification. It also demands the same standard for the resident alien and the native-born. Leviticus 19:33 and the surrounding verses press this further. The stranger is to be loved as oneself. That command sits inside a legal collection that also commands honest scales, prompt payment of wages, and impartial judgment. The vulnerable are not afterthoughts; they are woven into the fabric of the law.

This is not to say Israel's law was perfectly obeyed. The prophets make clear it was not. But the standard itself is a moral advance in the ancient world, and it is not the standard of any surrounding code. The trajectory of biblical law moves toward the equal dignity of every person made in God's image, a truth no royal stele could generate.

What the parallels actually show

The parallels between Hammurabi and Moses are real, and honest Christians should not deny them. Ancient Near Eastern cultures shared language, legal forms, and social structures. The biblical writers did not write in a vacuum, and God was pleased to reveal his will through the conventions of the time. That is a feature, not a bug. It is a form of incarnation.

But shared convention is not shared meaning. The same conditional sentence can serve a king's propaganda or a covenant's instruction. The same penalty schedule can reinforce social hierarchy or protect the poor. What determines the character of a law code is the authority behind it, the goal it serves, and the people it protects. On those measures, the Law of Moses stands apart.

Christians have historically read the Mosaic Law through the lens of its fulfillment in Christ. That does not require denying its ancient setting. It requires reading it as Scripture, in its context, and asking what the Lawgiver is doing through it. The answer is not that he is copying Babylonian bureaucracy. It is that he is forming a covenant people around himself.

Biblical fidelity check

What the narrative in Exodus does establish is that God spoke the Ten Words directly to Israel, and that Moses received and delivered the case laws that follow. It establishes that the law is grounded in the exodus and in Yahweh's covenant with his people. It does establish a real moral and theological difference between Israel's law and the legal traditions around it, especially in its protection of the vulnerable and its communal motive.

What the text does not establish is that Moses sat down with a copy of Hammurabi's code and edited it, or that Israel's law is simply a warmed-over Babylonian system. A common misreading is that because the case-law form and some topics overlap, the Mosaic Law is therefore derivative and its authority is diminished. That inference does not follow. Shared form in a shared culture is expected. The texts themselves present Israel's law as divine speech and covenant instruction, and the content presses in a different moral direction. Faithful readers may differ on how much literary dependence exists between the collections, but the question of authority is settled within the text itself.

Other passages that speak to Exodus 20:1-17

Deuteronomy retells the Ten Words for a new generation and stresses learning and doing them, a theme developed in Deuteronomy 1: Moses Rehearses Israel's Journey and Failure. The renewal of the tablets and the call for a circumcised heart appear in Deuteronomy 10: Renewed Tablets and Heart Circumcision. The promise of a coming prophet like Moses, which frames how later Scripture reads the law, is treated in Deuteronomy 18:15–19 Prophecy: The Prophet Like Moses. And the Holiness Code, which applies the Ten Words to daily life, is explored in Are Tattoos a Sin? Leviticus 19:28 in Context.

Frequently asked questions

Did Moses copy the Code of Hammurabi?

There is no evidence that Moses copied Hammurabi's code, though both share the legal conventions of the ancient Near East. The case-law form, concern for theft and injury, and structured penalties are common to several cultures in the region. What distinguishes Israel's law is its covenant framework, its grounding in the exodus, and its treatment of human dignity across social lines. Shared form does not establish literary dependence, and the texts present Israel's law as divine instruction received by Moses, not as a revised Babylonian document.

What is the biggest difference between the two codes?

The biggest difference is the source of authority and the motive for obedience. Hammurabi's code presents the king as the source of justice and serves to legitimize his reign. Israel's law begins with God's saving act and calls for covenant loyalty in response. That difference shapes everything downstream, including how each code treats slaves, foreigners, the poor, and the value of a human life. One is royal administration; the other is covenant formation. The moral trajectory runs in different directions.

Does the Bible depend on other ancient laws?

The Bible shares language, forms, and cultural assumptions with its ancient neighbors, which is what we would expect if God revealed himself within real history. The question is not whether Israel's laws resemble others in form, but whether they carry the same meaning and authority. Christians have historically read the Mosaic Law as Scripture that anticipates Christ, not as a document borrowed from Babylon. Similarities in a shared culture are expected; the theological claims of the text are what must be weighed.

Subscribe for more Scripture-centered studies.

Support Sermon Academy.

Previous
Previous

Mosaic-covenant

Next
Next

Mosaic-Law