Exodus 21-23 and the Code of Hammurabi
In December 1901 and January 1902, French archaeologists at Susa found a black diorite stele inscribed with the laws of Hammurabi of Babylon (now Louvre AO 10237, sometimes catalogued Sb 8). The match with Exodus 21-23 was immediate and unmistakable. Both use 'if-then' case law. Both rule on the goring ox, on slave injury, on kidnapping, on eye-for-eye. The discovery opened a question that has not closed: did Israel borrow from Babylon, share a wider ancient Near Eastern legal tradition, or arrive at similar rulings independently?
The Covenant Code (Exod 20:22-23:33, with the case-law concentrated in 21:1-22:17) is the oldest collection of legal material in the Hebrew Bible. The Code of Hammurabi (CH), copied around 1754 BCE and surviving in roughly 300 manuscript fragments plus the Susa stele, is the most complete ancient Near Eastern law collection. Half a dozen specific rulings appear in both. The literary form (casuistic 'if-then' construction) is shared across both collections. The disagreement is about what the overlap means: textual dependence, shared regional convention, or coincidence in a small enough legal domain. The answer changes how Exodus 21-23 is read and how Israel's law is situated in the wider ancient world.
What the discovery showed
Jacques de Morgan's French archaeological mission to Susa (modern Shush, in southwestern Iran) recovered the Hammurabi stele in three pieces between December 1901 and January 1902. The stele had been carried from Babylon to Susa as war booty by the Elamite king Shutruk-Nahhunte around 1158 BCE. Vincent Scheil, the philologist on the mission, produced the editio princeps in 1902. By 1903 S. A. Cook had published a comparison with the Pentateuch, and S. R. Driver's commentary on Exodus (1911) treated the question of dependence as a live problem in serious biblical scholarship.
What the stele showed was that Hammurabi's lawgivers had organized roughly 282 rulings (the standard count after Scheil's reconstruction) into casuistic form. Each begins with 'if' (Akkadian shumma) followed by a description of a circumstance, and concludes with the legal consequence. Exodus 21-22 does the same. The form is so distinctive, and the overlap in subject matter so close, that the comparative question could not be set aside.
The three positions
Three families of reading. Each accepts the overlap and explains it differently.
- Hugo Winckler, Die Gesetze Hammurabis (1903) and subsequent panbabylonist work
- S. R. Driver, The Book of Exodus (CBSC, 1911); Modern Research as Illustrating the Bible (1909)
- A. Alt, 'The Origins of Israelite Law' (1934)
- Albrecht Goetze, The Laws of Eshnunna (1956)
- Reuven Yaron, The Laws of Eshnunna (1969; rev. 1988)
- David P. Wright, Inventing God's Law (Oxford, 2009), arguing for direct literary dependence on the Akkadian text of CH
- Eckart Otto, Wandel der Rechtsbegründungen (1988); Theologische Ethik des Alten Testaments (1994)
- John Van Seters, A Law Book for the Diaspora (Oxford, 2003)
- • The casuistic form (shumma X, Y; the Akkadian-Hebrew parallel of conditional plus consequence) is shared across both texts in essentially identical structure
- • The goring ox ruling appears in CH §§250-252 and Exod 21:28-32 with the same three-part structure: a non-aggressive ox (no liability), an ox the owner knew was dangerous (liability), an ox that gores a slave (compensation by silver). Wright argues this sequence is too specific to share by coincidence
- • The kidnapping penalty in CH §14 and Exod 21:16 both impose death. The 'kidnap-to-sell' framing in Exod 21:16 matches the CH formulation that the kidnapper 'has carried him off'
- • Eye-for-eye, tooth-for-tooth (CH §§196-200, Exod 21:23-25, Lev 24:19-20, Deut 19:21) shares both the principle and the body-part list. The Akkadian 'eye for eye' (Akkadian inum kima inim) is verbally close to the Hebrew ayin tahat ayin
- • The deposit law for goods entrusted to a neighbor (CH §§120-126, Exod 22:7-13) shares the structure of oath-clearance when goods are stolen and the question is whether the entrusted party is responsible
- • Wright (2009) argues the Covenant Code follows Hammurabi's sequence of topics closely enough that the dependence is literary, not merely conventional. He proposes a Neo-Assyrian or Neo-Babylonian period date for the dependence (8th-7th c. BCE)
- • The Mari archives and the Amarna correspondence show that Akkadian was the diplomatic lingua franca across the Levant well into the second millennium, providing a plausible channel for Babylonian legal traditions to reach Canaan
- • The Covenant Code does not preserve the Hammurabi stratification by social class (awilum / mushkenum / wardum). Where CH distinguishes free man, commoner, and slave with separate penalties, the Covenant Code treats all free Israelites uniformly. A copyist drawing on CH would have had to systematically rewrite at this level, which is a substantial editorial effort
- • Some specific rulings reverse Hammurabi's priorities. CH §8 protects palace and temple property with thirtyfold restitution; theft of an ox or sheep in Exod 22:1 has its own ratios (fivefold for an ox, fourfold for a sheep). The proportions do not match
- • Hammurabi protects property over life in some cases (theft from temple or palace is capital, CH §6); the Covenant Code never imposes death for theft, only restitution. Direct borrowing leaves this systematic difference unexplained
- • The Covenant Code contains material that has no parallel in CH (the Sabbath release, the festival calendar, the sojourner protection). If the borrowing was substantial, the integration with the non-shared material would be the test of how the borrowing was managed
Rulings that match: side by side
The comparison below puts the Hammurabi text (Scheil's reconstruction, standard numbering) next to the Covenant Code text. The match in legal logic is the clearest in the goring-ox cluster, in kidnapping, and in eye-for-eye. The differences in those same cases are the points where the texts diverge in priorities, especially around social class and the relative weight of property versus life.
Each row gives the Hammurabi paragraph (left, in standard English translation following the ANET tradition) and the Exodus or Pentateuchal parallel (right, KJV). Read across each row to see what overlaps and what diverges.
Where the texts disagree
The most systematic difference between Hammurabi and the Covenant Code is social stratification. Hammurabi distinguishes three classes (awilum / 'free man,' mushkenum / 'commoner,' wardum / 'slave') and assigns different penalties depending on the social standing of the perpetrator and the victim. CH §§196-199 are the clearest example. An eye for an eye is the rule between free men. A commoner who injures another commoner pays silver. A slave who is injured receives only half-value compensation. The same physical act yields three different legal consequences depending on whose body it is.
The Covenant Code does not stratify in this way. Exod 21:23-25 gives the talion as a uniform rule between Israelites. Where it treats slaves (Exod 21:20-21, 21:26-27), the slave's body is protected by separate provisions, including the freedom-for-injury rule that compensates the slave's eye or tooth with manumission. Whether one reads this as a moral advance, a different organizing principle, or evidence of a different social setting, the structural difference is clear and unmistakable. Joshua Berman (Created Equal, 2008) argues this is a deliberate departure from the ANE legal mainstream. Other readers see it as evidence of a different social setting (a smaller, less stratified community) rather than a programmatic critique.
A second systematic difference is the relative weight given to life and property. Hammurabi imposes death for theft from temple or palace (CH §6) and for receiving stolen property without proof of purchase (CH §7). The Covenant Code never imposes death for theft. Exod 22:1-4 imposes graded restitution (fivefold for an ox, fourfold for a sheep, double for goods recovered alive). The most severe consequence for an Israelite thief is that, if he cannot restore, he is sold into slavery 'for his theft' (Exod 22:3). The principle that property crimes do not warrant capital punishment is consistent across the Covenant Code.
Two further differences are often noted. First, the Covenant Code includes substantial material that has no direct ANE parallel: the Sabbath release (Exod 23:10-12), the festival calendar (Exod 23:14-17), the sojourner protections (Exod 22:21, 23:9), and the prohibition of boiling a kid in its mother's milk (Exod 23:19). Second, Hammurabi is presented as the work of a king who 'received' justice from Shamash; the Covenant Code is framed as YHWH speaking the covenant terms directly to Israel through Moses. The legal medium is different. Whether that framing is theological window-dressing on a shared legal substrate, or a determining structural feature of the Covenant Code, is itself part of the comparative question.
The wider field: not just Hammurabi
Hammurabi is the most complete ANE legal collection, but it is not the only one. Five other collections, all from the second millennium BCE or earlier, provide the wider context for the Covenant Code's literary form and topical concerns. The collections are usually grouped together as the 'cuneiform legal tradition' that runs from late Sumerian Ur III through the Old Babylonian period, through the Hittite empire, and into the Middle Assyrian period.
The dates are conventional for each collection. The Covenant Code's own date is debated; the band shown reflects the range of current scholarly proposals.
How the dating of the Covenant Code interacts with the debate
The borrowing question is entangled with the dating question. If the Covenant Code's core dates to the Late Bronze Age (13th c. BCE, the late-date Exodus chronology), then it is contemporary with the Hittite Laws and predates the Middle Assyrian Laws. Direct borrowing from Hammurabi (1754 BCE) would have to traverse roughly five centuries through the Old Babylonian and Middle Babylonian periods. The Amarna correspondence (14th c. BCE) shows that Akkadian was used diplomatically across the Levant during that period, which provides one possible channel.
If the Covenant Code reached its current form much later (Wright's 8th-7th c. BCE proposal, or the Deuteronomistic-period proposals of Otto and Van Seters), then Neo-Assyrian period contact with the Babylonian legal tradition becomes a more direct possibility. Tablets of Hammurabi circulated as scribal exemplars in the Neo-Assyrian and Neo-Babylonian periods (fragments have been recovered from Assur, Nineveh, and other sites), so a 7th-century Hebrew scribe could plausibly have had access to the Akkadian text.
The shared-tradition position is partly indifferent to this dating spread, because the regional legal koine could have reached Israelite scribes at any point from the Late Bronze Age through the Iron II period. The direct-borrowing position is more dependent on which channel of access is being argued for. The independent-origin position is largely uninterested in the dating question, because its claim is that the parallels do not require any specific channel of contact.
What each position has to account for
The direct-borrowing position has to account for the systematic differences (no social stratification, no death penalty for theft, the framing of YHWH as covenant lawgiver) without making the borrowing process so heavily redactional that it stops looking like borrowing. Wright's case in particular has to defend the sequential matching of topics, which is its strongest argument and also its most contested claim. If the sequence holds, the case is strong. If the sequence breaks under closer inspection, the verbal parallels alone do not carry the weight.
The shared-tradition position has to account for the verbal closeness of some rulings (especially the goring-ox sequence and the eye-for-eye list). Westbrook's response is that conventional legal language tends to converge on similar formulations across a shared scribal culture. Whether that convergence is sufficient to explain the closest parallels, or whether some specific channel of contact must be posited, is the open question. The shared-tradition position is the modal current scholarly view but is not unchallenged.
The independent-origin position has to account for the specificity of the parallels (not just shared morality but shared procedural detail) without recourse to a regional legal tradition. The natural-law framing handles general moral overlap but is weaker on specific legal procedure. As a result this position is now mostly held in confessional rather than academic contexts, often as a complementary framing rather than as a freestanding reconstruction.
Reading Exodus 21-23 with the comparison in view
What the comparison surfaces, regardless of which position one holds, is the shape of the Covenant Code's distinctive features. The exodus rationale for slave release (Exod 21:2, with the seventh-year manumission framed against Israel's own slavery in Egypt). The sojourner clauses (Exod 22:21, 23:9, twice repeating 'for you were sojourners in the land of Egypt'). The Sabbath rest extended to slaves, livestock, and the land itself (Exod 23:10-12). The festival calendar (Exod 23:14-17). The covenant framing of the whole, with its theological prologue at Exod 20:22-26 and its covenant ratification at Exod 24:3-8. These are features the ANE legal tradition does not produce.
Whether the Covenant Code drew from Hammurabi, drew from a shared regional tradition, or arose independently, what makes it the Covenant Code is what is added to the casuistic material: covenant. The shared-tradition reading treats this addition as the Israelite legal community's distinctive theological framing of a borrowed form. The direct-borrowing reading treats it as the Israelite editor's redirection of a known source. The independent-origin reading treats it as native from the outset. In all three, the addition is what makes Exodus 21-23 Exodus 21-23, and not just another cuneiform law collection.
Sources
- Code of Hammurabi, Susa stele, Louvre AO 10237 (also catalogued Sb 8) (c. 1754 BCE)
- Vincent Scheil, Textes élamites-sémitiques, deuxième série (Délégation en Perse, Mémoires 4; Leroux, 1902), editio princeps of the Code of Hammurabi stele
- Code of Ur-Nammu (c. 2100 BCE), tablets from Nippur and Ur (ANET 523-525)
- Code of Lipit-Ishtar (c. 1930 BCE) (ANET 159-161)
- Laws of Eshnunna (c. 1900 BCE) (ANET 161-163; Yaron 1988)
- Hittite Laws (c. 1500 BCE) (ANET 188-197; Hoffner, The Laws of the Hittites, Brill 1997)
- Middle Assyrian Laws (c. 1100 BCE) (ANET 180-188; Roth 1997)
- Exodus 20:22-23:33 (Masoretic Text; Samaritan Pentateuch)
- Leviticus 24:17-22 (talion formulation)
- Deuteronomy 15:12-18 (slave release); 19:15-21 (witnesses and talion); 24:7 (kidnapping)
- Mari archives (Old Babylonian; Archives Royales de Mari series, Geuthner)
- Amarna correspondence (14th c. BCE) (Moran, The Amarna Letters, Johns Hopkins 1992)
- James B. Pritchard, ed., Ancient Near Eastern Texts Relating to the Old Testament (ANET), 3rd ed. (Princeton, 1969)
- Martha T. Roth, Law Collections from Mesopotamia and Asia Minor (SBL Writings from the Ancient World; Scholars Press, 1997)
- Hugo Winckler, Die Gesetze Hammurabis (1903)
- S. R. Driver, The Book of Exodus (CBSC; Cambridge, 1911)
- Albrecht Alt, 'Die Ursprünge des israelitischen Rechts' (1934); ET 'The Origins of Israelite Law,' in Essays on Old Testament History and Religion (Blackwell, 1966)
- Albrecht Goetze, The Laws of Eshnunna (AASOR 31; ASOR, 1956)
- Moshe Greenberg, 'Some Postulates of Biblical Criminal Law,' in Yehezkel Kaufmann Jubilee Volume (Magnes, 1960)
- Reuven Yaron, The Laws of Eshnunna (Magnes, 1969; rev. 1988)
- Shalom M. Paul, Studies in the Book of the Covenant in the Light of Cuneiform and Biblical Law (VTSup 18; Brill, 1970)
- J. J. Finkelstein, The Ox That Gored (TAPS 71.2; American Philosophical Society, 1981)
- Raymond Westbrook, Studies in Biblical and Cuneiform Law (CahRB 26; Gabalda, 1988)
- Eckart Otto, Wandel der Rechtsbegründungen in der Sozialgeschichte des antiken Israel (Brill, 1988); Theologische Ethik des Alten Testaments (Kohlhammer, 1994)
- Bernard M. Levinson, Deuteronomy and the Hermeneutics of Legal Innovation (Oxford, 1997)
- Harry A. Hoffner Jr., The Laws of the Hittites: A Critical Edition (Brill, 1997)
- John H. Walton, Ancient Near Eastern Thought and the Old Testament (Baker Academic, 2006)
- Kenton L. Sparks, Ancient Texts for the Study of the Hebrew Bible (Hendrickson, 2005)
- Joshua Berman, Created Equal: How the Bible Broke with Ancient Political Thought (Oxford, 2008)
- David P. Wright, Inventing God's Law: How the Covenant Code of the Bible Used and Revised the Laws of Hammurabi (Oxford, 2009)
- Raymond Westbrook, ed., A History of Ancient Near Eastern Law, 2 vols. (HdO; Brill, 2003)
- John Van Seters, A Law Book for the Diaspora: Revision in the Study of the Covenant Code (Oxford, 2003)
- Bruce Wells and F. Rachel Magdalene, eds., Law from the Tigris to the Tiber (Eisenbrauns, 2009)
- William H. C. Propp, Exodus 19-40 (Anchor Bible; Doubleday, 2006)