Deuteronomy 13:15

15 you must execute the citizens of that town. Kill them, setting that city apart for holy destruction: the city and everything in it including its animals.

Deuteronomy 13:15 Meaning and Commentary

Deuteronomy 13:15

Thou shalt surely smite the inhabitants of that city with the
edge of the sword
This could not be the work of a single person, nor of the whole sanhedrim, but was what the whole nation was to join in, according to the above note:

destroying it utterly;
pulling down the houses, and demolishing its walls and fortifications, or burning it, as afterwards explained:

and all that is therein;
men, women, and children:

and the cattle thereof, with the edge of the sword;
this severity was used to show the Lord's indignation against the sin of idolatry, and to deter persons from it, both individuals and bodies of men.

Deuteronomy 13:15 In-Context

13 reporting that evil men have gotten together with some of the citizens of the city and have broken away, saying, "Let's go and worship other gods" (gods you know nothing about),
14 then you must conduct a careful examination. Ask questions, investigate. If it turns out that the report is true and this abomination did in fact take place in your community,
15 you must execute the citizens of that town. Kill them, setting that city apart for holy destruction: the city and everything in it including its animals.
16 Gather the plunder in the middle of the town square and burn it all - town and plunder together up in smoke, a holy sacrifice to God, your God. Leave it there, ashes and ruins. Don't build on that site again.
17 And don't let any of the plunder devoted to holy destruction stick to your fingers. Get rid of it so that God may turn from anger to compassion, generously making you prosper, just as he promised your ancestors.
Published by permission. Originally published by NavPress in English as THE MESSAGE: The Bible in Contemporary Language copyright 2002 by Eugene Peterson. All rights reserved.