So, it must needs be the stark letter of the law is not always righteous, that it was more right not to stone the woman.
The mosaic law was given to teach the Jews right from wrong, and consequences that go along with doing wrong.
The Jews misused the law and instead of using it to change from doing wrong, they put emphasis on some sins and initiating the punishments on them, but letting others slide. Like some still do today.
Jesus did away with the written ordinances of the mosaic law, but taught to still keep the moral values the laws were intended for.
The written ordinances, sacrifices, and punishments we are no longer under. That is what not under the law means.
The moral values the commandments taught still apply. The law could not reconcile people to God, for people still choose to misuse it. Jesus was sent in the flesh to do what the law couldn't, reconcile us to God by forgiving us of our sins by shedding His own blood for us.
Hebrews 8:7
For if that first
covenant had been faultless, then should no place have been sought for the second
The new covenant has changes from the old.
Moses allowed divorce certificates, Lord Jesus only allowed them for sexual immorality
adultery and other sins had penalties of death, Lord Jesus says that only if you are with out sin do you have the right to decide judgment and death on somebody. ( Guess what, only Jesus was without sin. )
Mosaic law had food restrictions, new covenant only says we are not to eat foods that we know were offered to idols.
Adultery in the mosaic law was the physical act, Lord Jesus says lusting in the heart is adultery ( not just physical act )
The law did teach forgiveness but they did not listen to that, even today you have people calling themselves Christians but have no forgiveness in their heart, only hatred.
It is good to forgive somebody, but does that forgiveness mean you have to stay in a volatile marriage.
No it does not. Can you love your enemy, but not support their actions. Yes