But I am like a green olive tree in the house of God. I trust in the steadfast love of God forever and ever. I will thank you forever, because you have done it. I will wait for your name, for it is good, in the presence of the godly.
David's passion in this passage is to know the stability and blessing of anchoring his heart close to God in worship. He pictures himself as a flourishing, fruitful olive tree rooted in the soul of God's own home. Nothing would move him.
The psalm contrasts this stability with the inevitable judgment awaiting the unrepentant ungodly person. The evil person is broken down, torn from stability and uprooted (Psalm 52:5-7). This is the entirely opposite picture describing the one who deliberately works against God and rejects Him.
Those who trust in God and are thankful to God know a real strength. Those who wait on God and build community with other believers are blessed by God's work in their lives. They are His saints and are blessed, even if by faith they must wait and trust. God cares for His people. And in that trust, souls are nourished and lives are built.