Cold Steel -
The Israelites were in Egypt for nearly 500 years. The Egyptians were very noble sophisticated just and merciful. That's where the Israelites got these values. Just like they stole Babylonian Myths and made them their own.
Read about Egypt. Parts of Proverbs are just lifted from Egyptian sacred texts. Even the idea of a day of rest was Egyptian. Resurrection was an Egyptian concept long before Moses compiled (stole) the writings he and others used.
I find it most amusing that you point to the Jewish Law as soo wonderful. The rest of the civilised world worked out for themselves that lying, murder, cheating, stealing, adultery and covetousness were evil, for centuries - yet the Hebrews needed God to tell them, in 1513 BC!! And of course there is no Egyptian Law that forces a rape victim to marry her attacker as long as her father is given money.
YHWH appears to be a homicidal psychopath if Joshua, Judges and parts of the Pentateuch are true. Genocide on a scale that makes Hitler look like St Francis of Assisi. (Do a body count from the scriptures)
HB