“He brought me up also out of an horrible pit, out of the miry clay, and set my feet upon a rock, and established my goings.” Psalm 40:2
In Psalm 40, David testifies how YHWH brought him up out of a pit and set his feet upon the Rock. In verse 12 we read why David ended up in that pit. It was because of his own iniquities. So, his own sin, that there were lies and delusions in his mind and heart (Genesis 6:5). And we cannot oversee the consequences thereof. That is what David writes also in verse 12.
But YHWH is faithful (verse 10). He frees us from that pit and sets our feet upon the Rock. And this Psalm shows that David had learned his lesson. In verse 4, he writes that the man who does not turn aside to lies is blessed. Lies bring us into that pit. In verse 8, David writes that His law is within his heart. The word “law” often has a negative sound for us. The Hebrew word torah means more than law. It are the life instructions of our Maker, who knows best what we need. It is man’s Manual, they are His words of truth. David has found that His words of truth must be deep within us. And that is what he proclaims in verses 8 and 10.
What was this lesson that David had learned? How can we prevent that we end up in the same pit full of miry clay? By setting our feet firm upon the Rock …
“Therefore whosoever heareth these sayings of mine, and doeth them, I will liken him unto a wise man, which built his house [mind] upon the rock (Yeshua): And the rain descended, and the floods came, and the winds blew, and beat upon that house; and it fell not: for it was founded upon the Rock.” Matthew 7:24-25