Psalm 40
U2 sang this psalm , David tells us that he waited patiently for the Lord while he was in a slimy pout, i.e. in a desperate situation, we can be in deep trouble, and God seems nowhere to be seen, even so we should wait patiently for Him. He does hear our cry and will turn to us.Then He will lift us out of the mud and the mire and set us on firm ground. He will put a new song in our heart, and others will see what the lord has done for us and will put their trust in Him. The one who is blessed i.e. Is in a favourable position is the one who trusts in the Lord. The alternative is to turn to idols, which sadly is what Israel so often did.
There is no one like our God. Obedience is better than sacrifice, God looks for hearts that desire to do His will. Then we declare His saving acts, we are to speak openly about the Lord’s goodness.
We are protected by His love and faithfulness. V12 shows that David knew he was a sinful man, yet he puts his trust in the Lord.