Nehemiah 9:28-30

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.

29 You warned them, in order to bring them back to your Torah; yet they were arrogant. They paid no attention to your mitzvot, but sinned against your rulings, which, if a person does them, he will have life through them. However, they stubbornly turned their shoulders, stiffened their necks and refused to hear.

30 Many years you extended them mercy and warned them by your Spirit through your prophets; yet they would not listen. Therefore you handed them over to the peoples of the lands.