Deuteronomy 13:17 "And burn the city with fire"

If it is reported that some non-believers convinced most of the people of their city to worship idols, that city must be punished, but only after careful investigation.

If, in fact, the people have involved themselves in idol worship, the Torah commands us to kill all the idol-worshipers and totally destroy that city.