Yet he was merciful; he forgave their iniquities and did not destroy them. Time after time he restrained his anger and did not stir up his full wrath.
He remembered that they were but flesh, a passing breeze that does not return.
How often they rebelled against him in the wilderness and grieved him in the wasteland!
Again and again they put God to the test; they vexed the Holy One of Israel.
They did not remember his power— the day he redeemed them from the oppressor,
the day he displayed his signs in Egypt, his wonders in the region of Zoan.
He turned their river into blood; they could not drink from their streams.
He sent swarms of flies that devoured them, and frogs that devastated them.
He gave their crops to the grasshopper, their produce to the locust.
He destroyed their vines with hail and their sycamore-figs with sleet.
He gave over their cattle to the hail, their livestock to bolts of lightning.
He unleashed against them his hot anger, his wrath, indignation and hostility— a band of destroying angels.
He prepared a path for his anger; he did not spare them from death but gave them over to the plague.
He struck down all the firstborn of Egypt, the firstfruits of manhood in the tents of Ham.
But he brought his people out like a flock; he led them like sheep through the wilderness.
He guided them safely, so they were unafraid; but the sea engulfed their enemies.
And so he brought them to the border of his holy land, to the hill country his right hand had taken.
He drove out nations before them and allotted their lands to them as an inheritance; he settled the tribes of Israel in their homes.
But they put God to the test and rebelled against the Most High; they did not keep his statutes.
Like their ancestors they were disloyal and faithless, as unreliable as a faulty bow.
They angered him with their high places; they aroused his jealousy with their idols.
When God heard them, he was furious; he rejected Israel completely.
He abandoned the tabernacle of Shiloh, the tent he had set up among humans.
He sent the ark of his might into captivity, his splendor into the hands of the enemy.
He gave his people over to the sword; he was furious with his inheritance.
Fire consumed their young men, and their young women had no wedding songs;
their priests were put to the sword, and their widows could not weep.
Then the Lord awoke as from sleep, as a warrior wakes from the stupor of wine.
He beat back his enemies; he put them to everlasting shame.
Then he rejected the tents of Joseph, he did not choose the tribe of Ephraim;
but he chose the tribe of Judah, Mount Zion, which he loved.
He built his sanctuary like the heights, like the earth that he established forever.
He chose David his servant and took him from the sheep pens;
from tending the sheep he brought him to be the shepherd of his people Jacob, of Israel his inheritance.
And David shepherded them with integrity of heart; with skillful hands he led them.