Nehemiah 9:26-28

26 Nevertheless they were disobedient, and rebelled against thee, and cast thy law behind their back, and killed thy prophets who testified against them to turn them again to thee, and they wrought great provocations.

27 Therefore thou delivered them into the hand of their adversaries, who distressed them. And in the time of their trouble, when they cried to thee, thou heard from heaven, and according to thy manifold mercies thou gave them saviors who saved them out of the hand of their adversaries.

28 But after they had rest, they again did evil before thee. Therefore thou left them in the hand of their enemies, so that they had the dominion over them. Yet when they returned, and cried to thee, thou heard from heaven, and many times thou delivered them according to thy mercies,