Answer:
They both provided people with rules.
Step-by-step explanation:
Hammurabi made a collection of 282 laws that established values of manner and justice for keeping order in his kingdom. God engraved the Ten Commandments on stone tablets that were given to Moses and the population of Israel. ... The Ten Commandments also changed the Israel population's way of seeing religion.
They received this law when Moses, the leader of the Jewish nation, was led up Mt. Sinai by Yahweh, the God of the Hebrews. The two laws have some basic similarities such as, an eye for an eye, the punishment of death for adultery, fundamental respect for women, and reality that stealing is wrong.