How did the Hebrew code of justice differ from other law codes of the time?

The Hebrew code differed from other law codes because it focused more on morality and ethics. The code of Exodus ch.21-23 includes not mistreating widows and orphans (Exodus 22:21), not taking a needed article of clothing as long-term collateral (22:25-6), the command to return lost objects (23:4), providing physical assistance (23:5), not oppressing the poor (23:6), not taking bribes (23:8), and the prohibition against idolatry (23:13, 32). All of this is in contradistinction to other law codes.