Deuteronomy 13:15

15 you shall surely strike the inhabitants of that city with the edge of the sword--utterly destroying it, all that is in it and its livestock, 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 'Corrupt men have gone out from among you and enticed the inhabitants of their city, saying, "Let us go and serve other gods" '--which you have not known--
14 then you shall inquire, search out, and ask diligently. And if it is indeed true and certain that such an abomination was committed among you,
15 you shall surely strike the inhabitants of that city with the edge of the sword--utterly destroying it, all that is in it and its livestock, with the edge of the sword.
16 And you shall gather all its plunder into the middle of the street, and completely burn with fire the city and all its plunder, for the Lord your God. It shall be a heap forever; it shall not be built again.
17 So none of the accursed things shall remain in your hand, that the Lord may turn from the fierceness of His anger and show you mercy, have compassion on you and multiply you, just as He swore to your fathers,
Scripture taken from the New King James Version. Copyright © 1982 by Thomas Nelson, Inc. Used by permission. All rights reserved.