What does Deuteronomy 20:15 mean?
This is how you should treat cities that are far away from you, not the ones nearby in the land God is giving you. Deuteronomy 20:15 - Modern Text Bible
(These rules apply to distant cities, not those within the promised land.)