Consider Sodom and Gomorrah, and the treatment of the Canaanites. The example of God, is that when dealing with evil, half-measures are inappropriate.
This was a pre-gospel era. A little thought in the Holy Spirit should tell us we don’t haul what was permitted by the Lord early in bible history into human mandates of a gospel era, except as cautionary examples of how the Lord deals directly with evildoers. We are not talking about half measures, we are talking about splitting the sin from sinners. It’s a whole new dimension and one that got little attention early in bible history. God did not make that the time for it. Now is the time for it.