10 Commandments Compared with Hammurabi & Shulgi

Bible Scholarship

From OpenAI. (2025). ChatGPT [Large language model]. https://chatgpt.com

Prompt: Compare Hammurabi’s code with the code of Shulgi, king of the Sumerian city of Ur, and the Hebrew Bible’s 10 commandments citing sources and dates when critical bible scholars believe each was written.

To compare the legal codes of Hammurabi, Shulgi, and the Hebrew Bible’s Ten Commandments, we must examine their historical contexts, purpose, and content, along with when they were likely written.


1. Code of Hammurabi
  • Date: Circa 1754 BCE
  • Source: Babylon, under King Hammurabi (sixth king of the Amorite dynasty).
  • Nature: A comprehensive set of 282 laws inscribed on a diorite stele.
  • Purpose: To standardize justice and codify laws across Hammurabi’s empire, establishing penalties for civil, criminal, and commercial matters.
  • Key Themes: “An eye for an eye” principle (lex talionis), class-based punishments, protection of property, family law, and contracts.
  • Critical Insight: The laws served as a divine mandate, as Hammurabi claimed to receive them from the god Marduk.

2. Code of Shulgi
  • Date: Circa 2094–2047 BCE (Shulgi’s reign). The exact compilation date of his laws is debated but predates Hammurabi’s code.
  • Source: Ur III dynasty, under King Shulgi in Sumer.
  • Nature: Fragments of Sumerian legal codes attributed to Shulgi suggest regulation of trade, contracts, and temple rights.
  • Purpose: To maintain centralized control over an expanding state and ensure fairness in commercial and religious practices.
  • Key Themes: Temple taxation, property rights, and measures to ensure fairness in weights and measures.
  • Critical Insight: Shulgi emphasized his divine connection to gods such as Nanna (the moon god) to legitimize his laws.

3. Ten Commandments (Hebrew Bible)
  • Date: Critical biblical scholars suggest an oral tradition originating around the late second millennium BCE, with a written form compiled between the 8th and 6th centuries BCE during or after the Babylonian Exile (6th century BCE).
  • Source: Found in the Torah, specifically in Exodus 20:1–17 and Deuteronomy 5:4–21.
  • Nature: Religious and moral precepts attributed to divine revelation to Moses on Mount Sinai.
  • Purpose: To establish a covenantal framework between Yahweh and Israel, emphasizing monotheism and moral behavior.
  • Key Themes: Worship of Yahweh alone, prohibitions on idolatry, murder, theft, adultery, false testimony, and covetousness.
  • Critical Insight: Unlike the civil focus of Hammurabi and Shulgi, the Decalogue combines religious obligations with ethical imperatives.

Comparison
AspectHammurabi’s CodeShulgi’s CodeTen Commandments
Dating18th century BCEEarly 21st century BCE8th–6th centuries BCE (written)
Divine AuthorityMardukNannaYahweh
FocusCivil and criminal lawAdministrative and trade lawsReligious and moral obligations
StructureCasuistic (if/then format)Casuistic and administrativeApodictic (absolute commands)
Class-based JusticeYes, with differential penaltiesLikely class-differentiatedUniversal moral standards (egalitarian)
Key ThemesProperty, contracts, punishmentsTrade, temple, fairnessMonotheism, ethical conduct

Analysis
  1. Evolution of Legal Tradition:
    Shulgi’s and Hammurabi’s codes reflect early legal attempts to unify diverse populations under centralized rule. They are primarily practical, focusing on trade, property, and punitive measures.
  2. Religious Integration:
    While all three codes are divinely sanctioned, the Ten Commandments uniquely center on direct human obligations to the divine and ethical conduct, suggesting a theological shift.
  3. Influence and Legacy:
    Hammurabi’s stele influenced subsequent Near Eastern legal systems, while Shulgi’s laws reflect a precursor to such codification. The Ten Commandments influenced not only Judaism but also Christianity and Islam, serving as a foundation for Western ethical thought.
  4. Dating Implications:
    Critical scholars propose that the Hebrew Bible’s compilation occurred during a period of reflection and identity formation for exiled Israelites, possibly influenced by Babylonian legal traditions.

References
  • Roth, Martha T. “Law Collections from Mesopotamia and Asia Minor”. (1997).
  • Van De Mieroop, Marc. “King Hammurabi of Babylon: A Biography”. (2005).
  • Finkelstein, Israel, and Neil Asher Silberman. “The Bible Unearthed”. (2001).
  • Carr, David M. “The Formation of the Hebrew Bible”. (2011).