Deuteronomy 13:15

15 you shall surely put the inhabitants of that city to the sword, destroying it utterly, all who are 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 that certain base fellows have gone out among you and have drawn away the inhabitants of the city, saying, 'Let us go and serve other gods,' which you have not known,
14 then you shall inquire and make search and ask diligently; and behold, if it be true and certain that such an abominable thing has been done among you,
15 you shall surely put the inhabitants of that city to the sword, destroying it utterly, all who are in it and its cattle, with the edge of the sword.
16 You shall gather all its spoil into the midst of its open square, and burn the city and all its spoil with fire, as a whole burnt offering to the LORD your God; it shall be a heap for ever, it shall not be built again.
17 None of the devoted things shall cleave to your hand; that the LORD may turn from the fierceness of his anger, and show you mercy, and have compassion on you, and multiply you, as he swore to your fathers,
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.