We need to know history. It has been said that those who forget history are apt to relive it. The psalmist devoted a long discourse on the history of God’s people, Israel.
Before beginning his review of Israel’s journey, the writer reminded them of the importance of teaching God’s law to their children; that they might also teach their children. He started his review with their deliverance from bondage in Egypt. The psalmist reminded them of their complaints in the wilderness and of God’s care for them by providing water, manna and meat. He also wrote of God’s displeasure with their lack of faith and how that they had been punished by spending forty years in futility and fear. Punishment would bring Israel back to God and in His compassion, He would forgive them. BUT their repentance was short-lived as they would forget Him again. He reviewed the plagues brought against the Egyptians and the miraculous crossing of the Red Sea.
Even as God led His children like sheep into the promised land, they continued to rebel. They erected unauthorized places of worship and turned to idols instead of the Living God. David was then chosen to lead the children of Israel. Even in all of their rebellion, God continued to mercifully forgive them when they repented.