The Babylonians is following the Code of Hammurabi with regards to their family. According to this code, men are always superior in their families. The Babylonian men can trade their wives or children into slavery in order to pay off their debts. They can also disinherit a son according to their will.