God doesn’t change his character, and showed forgiveness by coming down Himself to take on all the sin of the world for those who simply accept that gift. This is the new covenant.
OT law had a bunch of stuff that was useful at the time, for health reasons, that didn’t apply as sanitation improved.
God didn't change. Man's view of him changed.