Deuteronomy 13:9-18

9 but you shall surely kill him; your hand shall be first on him to put him to death, and afterwards the hand of all the people.
10 You shall stone him to death with stones, because he has sought to draw you away from the LORD your God, who brought you out of the land of Mitzrayim, out of the house of bondage.
11 All Yisra'el shall hear, and fear, and shall not do any more such wickedness as this is in the midst of you.
12 If you shall hear tell concerning one of your cities, which the LORD your God gives you to dwell there, saying,
13 Certain base fellows are gone out from the midst of you, and have drawn away the inhabitants of their city, saying, Let us go and serve other gods, which you have not known;
14 then shall you inquire, and make search, and ask diligently; and, behold, if it be truth, and the thing certain, that such abomination is done in the midst of you,
15 you shall surely strike the inhabitants of that city with the edge of the sword, destroying it utterly, and all that is therein and the cattle of it, with the edge of the sword.
16 You shall gather all the spoil of it into the midst of the street of it, and shall burn with fire the city, and all the spoil of it every whit, to the LORD your God: and it shall be a heap forever; it shall not be built again.
17 There shall cleave nothing of the devoted thing to your hand; that the LORD may turn from the fierceness of his anger, and show you mercy, and have compassion on you, and multiply you, as he has sworn to your fathers;
18 when you shall listen to the voice of the LORD your God, to keep all his mitzvot which I command you this day, to do that which is right in the eyes of the LORD your God.
The Hebrew Names Version is in the public domain.