This psalm records the near slip of a believer as the frustration of watching the wicked and arrogant takes hold of his heart. They seem prosperous, confident … “their mouths lay claim to heaven, and their tongues take possession of the earth” … they appear carefree and others follow them.
VERSES 21-26 record the turn of the believer’s heart back to God.
“When my heart was grieved and my spirit embittered, I was senseless and ignorant; I was a brute beast before You.
Yet I am always with You; You hold me by my right hand. You guide me with your counsel, and afterward You will take me into glory.
Whom have I in heaven but You?
And earth has nothing I desire besides You.
My flesh and heart may fail, but God is the strength of my heart and my portion forever.”