Sanhedrin 10:4-5
Sanhedrin 10:4
The residents of a city condemned because of idolatry have no share in the Next World as per Deuteronomy 13:14, “Certain lowly men have gone out from you and misled the residents of their city.” They are not liable to the death penalty unless (a) the ones who misled them are from the same city and the same Tribe, (b) most of the city has been misled and (c) it was men who misled them. If women or children misled them, or if only a minority were misled, or if those who misled them came from outside the city, in all of these cases, they are judged as individuals and there must be two witnesses and a warning for each person. The penalty for individual idolatry is more severe than it is for a condemned city because individuals are executed by stoning and their property is spared while the residents of a condemned city are executed by beheading and their property is destroyed.
Sanhedrin 10:5
Regarding Deuteronomy 13:16, which says “You shall surely smite” the residents of a condemned city, a caravan of donkey drivers or camel drivers that travels from place to place might save such a city. “Completely destroying it and everything that is that is in it” – the property of righteous people inside the city is destroyed, while the property of evil people is destroyed whether it is inside the city or outside of it.