Hammurabi’s Code was based on the premise that if the king’s subjects all accepted their positions in the hierarchy and acted accordingly, the empire’s million inhabitants would be able to cooperate effectively. Their society could then produce enough food for its members, distribute it efficiently, protect itself against its enemies, and expand its territory so as to acquire more wealth and better security.

