But as often as they were repentant for having withdrawn from the worship of their God, the God of heaven gave them the power to resist.