Because he made the first laws, and even though they seem unreasonable now, doesn't mear they were back then(they are pretty harsh
First form of a legal code. (The Code of Hammurabi)
It was the first codified series of law written in history as far as we know.
The Hammurabi code of laws
Hammurabi's code of laws.
He was known for the code of Hammurabi, It was of laws to fallow. It is in cuneiform writing.
The Code of Hammurabi and ziggurats are associated with the ancient civilization of Mesopotamia. The Code of Hammurabi was a set of laws created by the Babylonian king Hammurabi, while ziggurats were pyramid-like structures built as religious temples in Mesopotamian city-states.
The Hammurabi code was the first set of codified laws as we known in history. Based on this fact you have the answer to your question.
Hammurabi wrote one of the earliest, if not the earliest, legal codex. This standardized punishments and led the way to modern legal systems.
They both made a set of laws for their civilization
It brought justice to the people and they treated them fairly.
First set of rules that was written and recoreded in any civilization
The Code of Hammurabi was better for the people because it created a peaceful civilization where people must follow the rules since they are all written down and easy to access.