Nehemiah 9:29-31

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.

31 Even so, in your great compassion, you didn’t completely destroy them; nor did you abandon them, for you are a compassionate and merciful God.