Hammurabi is not directly mentioned in the Bible. However, his famous Code of Hammurabi, one of the earliest known legal codes, has some parallels with biblical laws, particularly in the Book of Exodus. These similarities have led scholars to compare the two legal systems.
Hammurabi was a Babylonian king who ruled around 1792–1750 BCE. His code is well-known for its principle of “an eye for an eye,” which is also found in the Bible (Exodus 21:24). While the Bible does not mention Hammurabi by name, the influence of his legal code on ancient Near Eastern cultures, including the Israelites, is a topic of scholarly discussion.
In summary, while Hammurabi himself is not in the Bible, the principles of his legal code have some connections to biblical laws.