Deuteronomy 13:15

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.

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 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 Yahweh 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 Yahweh 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;
The World English Bible is in the public domain.