Nehemiah 9:26-28

26 “‘Yet they disobeyed and rebelled against you, throwing your Torah behind their backs. They killed your prophets for warning them that they should return to you and committed other gross provocations.

27 So you handed them over to the power of their adversaries, who oppressed them. Yet in the time of their trouble, when they cried out to you, you heard from heaven, and in keeping with your great compassion, you gave them saviors to save them from the power of their adversaries.

28 But as soon as they had gotten some relief, they went back to do evil before you. So you left them in the power of their enemies, who came down hard on them. Yet when they returned and cried out to you, you heard from heaven many times and saved them, according to your compassion.