18 But when they disobeyed him, they suffered heavy losses in many wars and were finally taken away as captives to a foreign country. The temple of their god was leveled and their cities were occupied by their enemies.