Nehemiah 9:28

28 But after they had rest from this, they again started doing evil against you. So you gave them over to the power of their enemies who ruled over them. Yet when they turned and cried to you, you heard from heaven and rescued them many times because of your great mercy.