ris3n's Apologetics Codex

Concept

ANE Legal Codes, Comparative Context

code of hammurabi, hammurabi, ane law codes, ancient near eastern law, middle assyrian laws, code of ur-nammu, hittite laws, was the mosaic law barbaric, did the bible copy hammurabi

Intro

There are ads on our codex that pay for hosting and keep the codex free. If you can, please consider whitelisting ris3n.com or allowing scripts to support the work.

Sponsored

Brands, events, influencers advertise here

The objection. The laws in the Old Testament, about slavery, about women, about capital punishment, about sexual violence, strike modern readers as backward, cruel, or downright wrong. A God who really cared about human flourishing, the critic says, would have given a better law code than that. The Mosaic Law looks barbaric next to a modern human-rights framework, and that is supposed to count against the religion built on it.

The basic Christian reply: the right comparison is not Mosaic Law versus a modern liberal democracy three thousand years later. The right comparison is Mosaic Law versus the actual legal codes operating in the same region at the same time, Babylonian, Hittite, Assyrian, Egyptian. Made honestly, that comparison shows Israel's law was a measurable moral upgrade, not a regression.

Why the surface concern is real: nobody is going to read the laws in Exodus or Leviticus today and feel warm about every clause. Some passages are genuinely hard. Christians do not pretend the law of Moses reads like modern legislation, and they should not.

What modern readers usually miss is the field these laws were playing on. The Code of Hammurabi (around 1754 BC) had penalties graded by social class, a free man and a slave were punished differently for the same crime. The Middle Assyrian Laws required forced veiling, with severe penalties for women who got it wrong. Most ANE codes routinely prescribed mutilation, cutting off ears, lips, hands, tongues, for everyday offenses. Slaves had essentially no rights, and runaway slaves were always returned. That was the legal water everyone was swimming in.

The Christian response, in the room, walks through what Israel's law actually did differently. It treated Israelites as a single class under the same law. It commanded that runaway slaves not be returned but given shelter (Deuteronomy 23:15-16), a provision found nowhere else in the ancient world. It capped debt-servitude at seven years and added a Jubilee reset. It almost never imposed mutilation, the "eye for eye" language was a cap on retaliation (limiting it to proportional rather than escalating revenge) and in practice was commuted to monetary compensation. None of this makes Mosaic law equal to a modern constitution. It does mean that, judged against what every neighboring culture actually did, Israel's law moved consistently in a more humane direction.

The takeaway: the "Old Testament law is barbaric" objection only works if you sneak in modernity as the baseline. Use the right baseline, the laws Israel's neighbors actually lived under, and the moral trajectory runs the other way. Mosaic Law is one stage in a long arc that runs through the prophets, Jesus, and the early church, and it is a step up, not a step down, from where ancient law actually was.

In full

The ancient Near Eastern (ANE) legal corpora that form the comparative context against which the Mosaic legal material (Exodus 20-23 + Leviticus + Numbers + Deuteronomy) was given. Honest apologetic engagement with OT-difficult texts requires reading the Mosaic Law not against contemporary modern standards but against its actual historical alternatives, the Babylonian, Hittite, Assyrian, and Egyptian legal traditions in operation when the Mosaic material was given. When the comparison is honestly made, the Mosaic Law repeatedly shows itself as a moral elevation of the ANE alternatives, not a regression below modern standards.

This hub is a comparative-context resource for the OT Sexual-Violence Laws defense and the broader Old Testament Difficult Texts cluster. The instinct: many atheist objections to OT law (slavery, women's status, sexual-violence penalties, dietary restrictions) become substantially less forceful when the actual historical alternatives are factored in.


Code of Ur-Nammu (c. 2100-2050 BC)

The earliest known law code (older than Hammurabi by ~300 years). 32 known laws covering homicide, theft, sexual violence, divorce. Notable for using fines rather than physical retaliation in many cases, a more humane substructure than later Babylonian law.

Code of Lipit-Ishtar (c. 1930 BC)

Sumerian; ~50 surviving laws. Notable for protection of slaves and limited debt-slavery (3-year limit), partial parallel to Mosaic 7-year debt-slavery (Exod 21:2; Deut 15:12).

Code of Hammurabi (c. 1754 BC, Babylonian)

The most extensive ANE law code; 282 laws. The principal comparative reference for Mosaic Law. Pre-dates Mosaic legislation by ~3-4 centuries depending on the dating of the Exodus. Notable features:

  • Lex talionis, eye-for-eye principle (Mosaic Law has similar in Exod 21:24, Lev 24:20). Often misread today as primitive; in ANE context it is restrictive, limiting retaliation to proportional rather than escalating.
  • Class-based justice: penalties differ by social class (a free man / a slave / a commoner). The Mosaic Law dramatically reduces this, Israelite citizens are treated as a single class under the Law, with limited exceptions.
  • Brutal physical penalties: cutting off hands, ears, lips for a wide range of offenses. The Mosaic Law's capital offenses are narrower in scope and its physical-mutilation penalties are almost absent (the eye-for-eye clauses in Israel were almost always commuted to monetary compensation, see Mishnah Bava Kamma 8.1 and Maimonides, Hilkhot Hovel uMazzik 1.2-6).
  • No protection for slaves who flee abuse. Hammurabi §15-16 makes it a capital offense to help a slave escape or to harbor a fugitive slave; §17-19 set a reward for capture and return and penalize anyone who keeps one. Compare Deut 23:15-16, where the Israelite must not return a runaway slave but must let him live where he chooses and must not oppress him. The Mosaic provision is not merely different, it is the exact inversion of the Babylonian rule, and no other surviving ANE corpus has anything comparable. This is the single strongest comparative datum available and should be led with.

Hittite Laws (c. 1650-1500 BC)

Hittite legal corpus; ~200 surviving laws. Distinctive features include:

  • Death penalty less common than in Mosaic Law for property offenses.
  • Sexual-offense penalties partially parallel to Mosaic Law but with significant category distinctions, some sexual relationships that were death-penalty in Israel (incest, bestiality) were also capital in Hittite contexts, while others (consensual sex with another man's slave) had compensatory rather than capital penalties.
  • Notably humane treatment of slaves in some categories.

Middle Assyrian Laws (MAL, c. 1450-1250 BC)

Assyrian; ~120 surviving laws. The principal comparative reference for ANE sexual-violence law. Notable features:

  • MAL A§55: forcible rape of an unbetrothed virgin → rapist's wife is given to the victim's father for rape, AND the rapist marries the victim with no divorce option, AND pays the bride-price. The compounded penalty is harsher than the Mosaic equivalent in Deut 22:28-29 (which Israel applied to the seduction case, not the forcible-rape case, see Hebrew Verbs for Sexual Contact).
  • MAL A§50-53: extensive protection-of-pregnancy and feticide penalties, significantly more elaborate than Mosaic equivalents.
  • MAL A§40-41: required veiling for married women in public; severe penalties for unveiled women misidentified as prostitutes, far more restrictive on women than Mosaic Law.

The MAL is the corpus that most directly illuminates the comparative-context defense of Deut 22:28-29 against the "rape only condemned when unmarried" objection (see OT Sexual-Violence Laws and the Rape Only Condemned When Unmarried Objection Defeater syllogism).

Egyptian legal tradition (continuous, c. 3100 BC, Roman period)

Egyptian law was less codified than the Mesopotamian traditions but operated by royal-decree, judicial precedent, and a developed wisdom-literature ethical framework (Ma'at). Notable: ancient Egyptian property law granted women substantial economic agency (own property, conduct business, sue in court), comparable to or exceeding the Mosaic provisions in some areas.


What these documents actually are

This section is load-bearing and its absence is the fastest way to lose the argument to someone who knows the field.

The Mesopotamian "codes" are almost certainly not statute books. Since Fritz Kraus's 1960 study, and developed by Jean Bottéro and Raymond Westbrook, the mainstream Assyriological position is that they are royal apologia and scribal treatises: collections of model judgments compiled to display the king's justice before the gods and posterity, and copied for generations as scholastic exercises. Three observations drive this.

  • Hammurabi's stele carries a prologue and epilogue framing the whole thing as the king's testimony before Shamash, the god of justice, complete with curses on anyone who defaces it. That is a monument, not a legal manual.
  • Of the thousands of surviving Old Babylonian court records, none cites the stele. Judges deciding actual cases do not quote it.
  • The stele itself was found at Susa, in Elam, where it had been carried off as war booty around 1150 BC, and it was still being copied by scribes more than a millennium after Hammurabi's death.

Three consequences follow, and two of them cut against the careless apologetic use of this material.

  1. Comparing the codes to modern statutes is a category error in both directions. Neither Hammurabi nor the Covenant Code should be read as an exhaustive penal code exhausting what a society did in practice.
  2. The "Israel did not actually execute people for that" defense gets weaker and stronger at once. Weaker, because the same move is available for Babylon. Stronger, because it means the harsh-sounding clause in Exodus or Leviticus is no more a report of routine practice than Hammurabi's mutilation penalties are.
  3. The comparison still works, because it was never about enforcement rates. What these documents reliably record is what a society was willing to declare just. If the ideal Babylon inscribed on a monument to its own righteousness includes killing a man for sheltering a runaway slave, and the ideal Israel inscribed in its founding law forbids returning one, the comparison of stated ideals is exactly the comparison that is available and exactly the one that matters.

Four structural contrasts

Beyond the individual clauses, four differences are structural rather than incidental, and they are the ones worth memorizing.

  1. Vicarious punishment. Hammurabi §229-230: if a builder's shoddy work kills the householder, the builder is killed; if it kills the householder's son, the builder's son is killed. §210 does the same with a daughter. Biblical law forbids this explicitly: Deuteronomy 24:16 states that fathers shall not be put to death for the children, nor children for the fathers, each shall die for his own sin. Ezekiel 18 develops the principle at length.
  2. Property against persons. Hammurabi makes theft capital in several forms (§6 temple or palace property, §8 inability to repay a multiple, §21 breaking and entering, §22 robbery). Biblical law prescribes no death penalty for property theft at all; Exodus 22:1-4 requires multiple restitution, and a thief who cannot pay is sold to work the debt off, not executed. The two systems hold opposite views about whether property outranks life. Israel is harsher on offenses against persons and against the covenant, and markedly softer on offenses against property.
  3. The slave as a person with standing. Hammurabi §199 treats destroying another man's slave's eye as damage compensable to the owner, at half the slave's value. Biblical law creates a right in the slave himself: Exodus 21:26-27 frees a slave whose eye or tooth the master destroys, and Exodus 21:20-21 makes a master who kills a slave under the rod liable to punishment. Whatever else is said about biblical servitude, this is a category the Mesopotamian codes do not have.
  4. Who the law belongs to. Hammurabi's epilogue calls them "the laws of justice which Hammurabi the wise king established," and he stands above them as their author. Sinai presents the law as God's own speech, and Deuteronomy 17:18-20 places the king under it, requiring him to write out his own copy and read it all his days so that his heart is not lifted above his brethren. Joshua Berman (Created Equal, Oxford, 2008) argues this is the deepest break: a legal order in which the sovereign is a subject of the law rather than its source. It is also why prophets can indict kings, which has no real Mesopotamian parallel.

The dependence question

Does biblical law borrow from Hammurabi? The parallels are real and should be conceded without flinching. The goring-ox laws (Hammurabi §250-252 and Exodus 21:28-32) are close enough that coincidence is not a serious explanation; so are the deposit and bailment provisions, the treatment of kidnapping, and the talion formula.

Three positions:

  • Shared legal culture, the mainstream. Israel inherited a common West Semitic and Mesopotamian legal tradition, the way neighboring modern states share legal concepts without one copying the other's statute book. The wording differs even where the cases match, which is what a shared tradition predicts and direct copying does not.
  • Direct literary borrowing. David P. Wright, Inventing God's Law (Oxford, 2009), argues the Covenant Code is a direct literary adaptation of Hammurabi, dependent on an Akkadian text. This is a genuine scholarly position held by a credentialed Assyriologist, and it is a minority one; Bruce Wells and others have argued the sequence correspondences Wright relies on are weaker than claimed.
  • Independent revelation with no ANE contact, which nobody in the field holds and which the evidence does not support.

Note carefully that the Christian claim does not require position three. A God addressing a Bronze Age people in the legal vocabulary they already possessed is what accommodation predicts. The theologically interesting question is never whether the form is borrowed but what was changed, and the four structural contrasts above are the answer.

Honest concessions

Every point below should be granted before an opponent makes it. A page that only accumulates wins reads as advocacy and gets discounted accordingly.

  • Ur-Nammu is more humane than Hammurabi on bodily injury, and in one respect more than Israel. It assigns silver compensation where later Babylonian law and biblical talion assign like-for-like. The moral trajectory across the ANE is not a clean upward line, and Israel is not the first or only culture to move toward compensation.
  • The Deuteronomy 23:15-16 reading is disputed. A significant body of scholarship holds the runaway in view is a slave escaping a foreign master into Israel, not an Israelite-owned slave, which would narrow the provision considerably. The comparative point survives on the narrower reading, since no other ANE corpus grants asylum to any fugitive slave at all, but the stronger reading should not be asserted as settled.
  • Leviticus 25:44-46 is real and is the hard text. Foreign slaves could be held permanently and passed to heirs as property. The seven-year release and the Jubilee applied to Israelites. Any defense that describes all biblical servitude as time-limited indentured labor is false and will be shown to be false. See Chattel Slavery vs Biblical Servitude and Israelite Slavery Possession-vs-Ownership Defeater for the arguments that survive this concession.
  • Israel prescribes death for religious offenses (idolatry, blasphemy, Sabbath violation) where the Mesopotamian codes largely do not. On this axis Israel is the harsher system, and the defense has to run through Theocratic Context of Mosaic Law rather than through comparative leniency.
  • Hammurabi's class stratification has a partial biblical analogue. The single-class claim holds for Israelites; foreigners and slaves are not uniformly included, though Leviticus 24:22 states one law for the sojourner and the home-born.

The apologetic deployment, three moves

Move 1, refuse the chronologically-confused comparison

The atheist objection often runs: "Mosaic Law is barbaric by modern standards."

Response: the relevant comparison is not Mosaic Law vs 21st-century liberal democracies; it is Mosaic Law vs its actual historical alternatives (Hammurabi, MAL, Hittite, Egyptian). The Mosaic Law is dramatically more humane than its contemporaries on multiple axes:

  • Single-class justice (Israelites equal under the law) vs class-stratified Hammurabi
  • Slave protections (runaway slaves, Sabbath rest, debt-slavery year limit, jubilee freedom) substantially exceeding ANE norms
  • Capital offenses narrower in scope than Hammurabi or MAL
  • Almost no physical mutilation penalties (the eye-for-eye was monetarily commuted)

Move 2, show the direction of Israel's moral trajectory

The Mosaic Law is not the destination of biblical ethics, it is a stage in a long redemptive arc. The ethical trajectory (see Ethical Trajectory Hermeneutic) runs from ANE common-practice → Mosaic Law (substantial moral elevation) → Prophetic critique (Amos / Isaiah / Micah extending the principles further) → Jesus' sermon on the mount (radicalization) → apostolic-church practice (Paul on slavery in Philemon, the church's elevation of women's status, etc.). The Christian framework is responsible for the trajectory, not for any single waystation read as if it were the final destination.

Move 3, name the moral horizon the objector is using

The atheist who condemns Mosaic Law for sexism / slavery / etc. is using a moral horizon (equal dignity of all humans, the wrongness of slavery, the wrongness of treating women as property) that is itself substantially derived from the Christian tradition, see Hypocrisy, Tom Holland's Dominion (2019). The horizon they critique with is the horizon Christianity created. This does not exonerate every specific Mosaic provision, but it does refuse the framing in which Christianity is opposed to the moral horizon.


See also

Common questions this page answers

Q: Is the Old Testament law worse than modern human rights law?

The wrong comparison. Mosaic Law operated in the second millennium BC; comparing it to modern liberal democracy three thousand years later is chronologically dishonest. The right comparison is Mosaic Law against the legal codes operating in the same region at the same time, Babylonian, Hittite, Assyrian, Egyptian. On that comparison, Mosaic Law is consistently more humane.

Q: What is the Code of Hammurabi and how does it compare to Mosaic Law?

The Code of Hammurabi (c. 1754 BC) is the most extensive ANE law code (282 laws) and the principal comparative reference for Mosaic Law. Hammurabi has class-based justice (different penalties for free man, commoner, slave); Mosaic Law treats Israelites as a single class. Hammurabi requires returning runaway slaves to their owners; Mosaic Law in Deuteronomy 23:15-16 forbids this and requires shelter, a provision found nowhere else in the ancient world.

Q: Did the Old Testament treat slaves better than other ancient cultures?

Significantly better. Israel capped debt-servitude at seven years (Exodus 21:2, Deuteronomy 15:12) and added a Jubilee reset. The runaway-slave shelter provision in Deuteronomy 23:15-16 is unique in the ANE. Slaves observed the Sabbath. The Middle Assyrian Laws and Hammurabi gave slaves essentially no rights; the Mosaic provisions substantially exceed ANE norms.

Q: Was "an eye for an eye" actually barbaric?

No, it was restrictive in its ancient context. Lex talionis limited retaliation to proportional rather than escalating revenge. In ancient Israel it was almost always commuted to monetary compensation in practice (see Mishnah Bava Kamma 8.1 and Maimonides, Hilkhot Hovel uMazzik 1.2-6). The Mosaic Law's physical-mutilation penalties are almost absent compared to Hammurabi's routine cutting off of hands, ears, lips.

Q: How was Israelite sexual-violence law different from ancient law?

The Middle Assyrian Laws (MAL) A§55 prescribed harsher penalties for rape than the Mosaic equivalent in Deuteronomy 22:28-29 (which Israel applied to the seduction case, not forcible rape; see Hebrew Verbs for Sexual Contact). The MAL also required forced veiling of married women with severe penalties for getting it wrong, far more restrictive on women than Mosaic Law.

Q: Where does Christianity's moral horizon come from?

In significant part from the canonical trajectory itself: ANE common-practice → Mosaic Law (substantial moral elevation) → prophetic critique → Jesus' Sermon on the Mount (radicalization) → apostolic-church practice. Tom Holland's Dominion documents that the modern moral horizon (equal dignity, the wrongness of slavery, the wrongness of treating women as property) is itself substantially derived from the Christian tradition. The atheist who critiques Mosaic Law is using a horizon Christianity created.