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.

1 Kings 18:40

40And Elijah said to them, “Seize the prophets of Baal; let not one of them escape.” And they seized them. And Elijah brought them down to ethe brook Kishon and fslaughtered them there.

2 Kings 11:18-19

18Then all the people of the land went to gthe house of Baal and tore it down; hhis altars and his images they broke in pieces, and they killed Mattan the priest of Baal before the altars. And the priest posted watchmen over the house of the Lord. 19And he took the captains, ithe Carites, the guards, and all the people of the land, and they brought the king down from the house of the Lord, marching through jthe gate of the guards to the king’s house. And he took his seat on the throne of the kings.
Copyright information for ESV