18 But when they departed from the way which he had appointed for them, they were utterly defeated in many battles and were led away captive to a foreign country; the temple of their God was razed to the ground, and their cities were captured by their enemies.