According to the will of our God we will receive His blessing, because He is a righteous God to us, He will reward us according to our righteousness, and will help us in the most difficult moments.
The Lord has dealt with me according to my righteousness;
according to the cleanness of my hands he has rewarded me.
It is remarkable the statement of the psalmist David, something we must remember is that the psalmist glorified the Lord and exalted Him with all his heart even when he had no difficulty.
In verse 20 we see that David begins praising Almighty God, and this is a wonderful statement that David was making. David’s longing for God was great.