Deuteronomy 13:15

15 you must kill the residents of that city with swords and destroy that city and everyone in it, including the animals, because they are claimed by God.

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 have been led away from the LORD your God by worthless people. You may hear that these people have been saying, "Let's worship other gods." (Those gods may be gods you've never heard of.)
14 Then make a thorough investigation. If it is true, and you can prove that this disgusting thing has been done among you,
15 you must kill the residents of that city with swords and destroy that city and everyone in it, including the animals, because they are claimed by God.
16 Gather their goods into the middle of the city square. Then burn their city and all their goods as a burnt offering to the LORD your God. It must remain a mound of ruins and never be rebuilt.
17 Don't ever take any of the things claimed for destruction. Then the LORD will stop being angry and will show you mercy. In his mercy he will make your population increase, as he swore to your ancestors.
GOD'S WORD® is a copyrighted work of God's Word to the Nations. Copyright © 1995 by God's Word to the Nations. All rights reserved. Used by permission.