Nehemiah 9:27-29 Living Bible (TLB)
27 So you gave them to their enemies. But in their time of trouble they cried to you, and you heard them from heaven, and in great mercy you sent them saviors who delivered them from their enemies. 28 But when all was going well, your people turned to sin again, and once more you let their enemies conquer them. Yet whenever your people returned to you and cried to you for help, once more you listened from heaven, and in your wonderful mercy delivered them! 29 You punished them in order to turn them toward your laws; but even though they should have obeyed them,[a] they were proud and wouldn’t listen, and continued to sin.
Nehemiah 9:27-29 New International Version (NIV)
27 So you delivered them into the hands of their enemies, who oppressed them. But when they were oppressed they cried out to you. From heaven you heard them, and in your great compassion you gave them deliverers, who rescued them from the hand of their enemies.
28 “But as soon as they were at rest, they again did what was evil in your sight. Then you abandoned them to the hand of their enemies so that they ruled over them. And when they cried out to you again, you heard from heaven, and in your compassion you delivered them time after time.
29 “You warned them in order to turn them back to your law, but they became arrogant and disobeyed your commands. They sinned against your ordinances, of which you said, ‘The person who obeys them will live by them.’ Stubbornly they turned their backs on you, became stiff-necked and refused to listen.