40 So Joshua defeated all the kings of the cities of these areas: the mountains, southern Canaan, the western mountain slopes and the eastern mountain slopes. The Lord, the God of Israel, had told Joshua to completely destroy all the people as an offering to the Lord. So he left no one alive in those places.