Deuteronomy 13:5

5But athat prophet or that dreamer of dreams shall be put to death, because he has taught rebellion against the Lord your God, who brought you out of the land of Egypt and redeemed you out of the house of slavery, to make you leave the way in which the Lord your God commanded you to walk. bSo you shall purge the evil
Or  evil person
from your midst.

Deuteronomy 13:9

9But you shall kill him. dYour hand shall be first against him to put him to death, and afterward the hand of all the people.

Deuteronomy 13:15

15you shall surely put the inhabitants of that city to the sword, devoting it to destruction,
That is, setting apart ( devoting) as an offering to the Lord (for destruction)
all who are in it and its cattle, with the edge of the sword.
Copyright information for ESV