Nehemiah 9:27-29

27 so you let their enemies conquer and rule them. In their trouble they called to you for help, and you answered them from heaven. In your great mercy you sent them leaders who rescued them from their foes.

28 When peace returned, they sinned again, and again you let their enemies conquer them. Yet when they repented and asked you to save them, in heaven you heard, and time after time you rescued them in your great mercy.

29 You warned them to obey your teachings, but in pride they rejected your laws, although keeping your Law is the way to life. Hard-headed and stubborn, they refused to obey.