Deuteronomy 13:15

15 you must put the inhabitants of that city to death with the sword, destroying it completely with the sword, everything in it, including its livestock.

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 certain scoundrels have sprung up among you and have drawn away the inhabitants of their city by saying, 'Let's go and serve other gods, which you haven't known,'
14 then you are to investigate the matter, inquiring and searching diligently. If the rumor is true, if it is confirmed that such detestable things are being done among you,
15 you must put the inhabitants of that city to death with the sword, destroying it completely with the sword, everything in it, including its livestock.
16 Heap all its spoils in an open space, and burn the city with its spoils to the ground for ADONAI your God; it will remain a tel forever and not be built again -
17 none of what has been set apart for destruction is to stay in your hands. Then ADONAI will turn from his fierce anger and show you mercy, have compassion on you and increase your numbers, as he swore to your ancestors -
Complete Jewish Bible Copyright 1998 by David H. Stern. Published by Jewish New Testament Publications, Inc. All rights reserved. Used by permission.