There was a reason why what we call sex crimes and perversion was a death penalty offense in the Old Testament.
They knew that if this sort of thing were “tolerated” the whole society would become corrupt to the point that the only way to cleanse it is to destroy it utterly.
Why do you think He commanded the children of Israel to exterminate the Canaanites?
Ex post facto justification for stealing someone else’s property just the Puritans did with the New England Indians.