Apparently David has let go of how he has been hurt and he is in effect saying, "This problem is now Your problem God, as I can't deal with it and I need Your guidance to see me through this situation".
In the final verse of this chapter, David realizes that if God knows all things, then God also helps those who need His help. God is there to help those who call upon Him (see Psalm 145:18). God is the righteous judge and those (that is who the "righteous" are) who trust in God will praise His name and live before Him for all of eternity. It is our faith in that truth that gives us the strength to face whatever comes our way. Knowing there is a God who judges all things, and guides us through our lives is the best way and in effect the only way we can handle life and its many challenges.
Throughout this chapter, the principle truth of 'knowing God and knowing that God knows us' has been brought to the reader's attention. It is this realization that God knows all things about our life and knowing that He desires to guide our life will keep us in the race of life (1 Corinthians 9:24).