God in the OT is more merciful than we tend to think. His laws, when compared to ancient laws of the time, are compassionate and point towards his eternal ideals.