This would never be tolerated today - killing someone because they were excessive or an alcoholic. Today we say there is hope for anyone. In fact, we hold out or simply ignore their condition. In the OT, they took extreme measures for extreme disobedience. Yikes.

Deuteronomy 21:18