Deuteronomy 13:15

15 Thou shalt surely smite the inhabitants of that city with the edge of the sword, destroying it utterly, and all that [is] in it, and its cattle, 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] men, the children of Belial, have gone out from among you, and have withdrawn the inhabitants of their city, saying, Let us go and serve other gods, which ye have not known;
14 Then shalt thou inquire, and make search, and ask diligently; and behold, [if it is] truth, [and] the thing certain, [that] such abomination is wrought among you;
15 Thou shalt surely smite the inhabitants of that city with the edge of the sword, destroying it utterly, and all that [is] in it, and its cattle, with the edge of the sword.
16 And thou shalt gather all the spoil of it into the midst of its street, and shalt burn with fire the city, and all the spoil of it every whit, for the LORD thy God: and it shall be a heap forever; it shalt not be built again.
17 And there shall cleave naught of the cursed thing to thy hand: that the LORD may turn from the fierceness of his anger, and show thee mercy, and have compassion upon thee, and multiply thee, as he hath sworn to thy fathers;
The Webster Bible is in the public domain.