The psalm calls the people to hear a teaching in a parable, things of old that the fathers have told. They will not hide them from their children: they will tell the praises of the Lord and his wonders, so that each generation sets its hope in God and is not stubborn and rebellious like its fathers. The Ephraimites, armed with bows, turned back on the day of battle because they did not keep the covenant.
Verses 12 to 39 review the exodus and the wilderness. God did marvels in Egypt, divided the sea, led his people with a cloud and with fire and split rocks to give them water. But they sinned still more, tested God and demanded food. He sent manna and quail, but his anger rose while they kept complaining. When he struck some of them they sought him, but they flattered him with their mouths. Still, being compassionate, he atoned for their iniquity and remembered that they were flesh, a wind that passes.
Verses 40 to 64 recall the plagues, the exodus and the entry into the land, and a new cycle of rebellion with high places and idols. God forsook the tabernacle at Shiloh, gave his glory into captivity and let the sword reach his people and their priests.
Verses 65 to 72 show the turn: the Lord awoke as from sleep, chose not Ephraim but Judah and Mount Zion, and chose David, whom he took from the sheepfolds, to shepherd Jacob with integrity of heart and with skillful hands.