Psalm 95:8, 10 Harden not your heart, as in the provocation, and as in the day of temptation in the wilderness….Forty years long I was grieved with this generation, and said, It is a people that do err in their heart, and they have not known my ways.
Even after the Lord had shown His mighty power and great love for His people in the deliverance of the Exodus, they still hardened their heart with complaining and unbelief. But God still provided water and food for them in the desert. However, God was still grieved with them for forty years because of their hard heart of unbelief. They made a mistake in their perception of God and their relationship to Him. They did not know the Lord, His character, and His ways.
”These things were written for our learning.” In spite of the goodness of God and our deliverance by the death and resurrection of Jesus Christ, we still complain and harden our heart. Life is not as good as we want it. We also are mistaken in our perception of God’s ways, for they are higher than ours. There are times when our faith is weakened and our relationship with God is strained. But the Lord knows us, forgives us, and welcomes us into His loving arms all the time.