Beso@ You have a closed mind!
Suppose you ruled in a country where you are surrounded by nations who are cruel, (very much like ISIS, only worse). They continue to invade your territory, take away your wives, children, menfolk and
killed all your livestock. What action would you take?
What would you do if your wife/daughter deliberately disobeyed something you asked them to do, causing the rest if the family to be punished when they were not responsible? How would you feel knowing that you asked them something that was not unreasonable or difficult to do, but would result in a happy family - but they decided they knew best!
God may have punished people, but don't the judicial systems of today do just the same?
If there was no deterrent for wrong doing what would the world be like now? Similar in ancient times. Anarchy.
As for adulterous husbands - read Malachi.