“He put a new song in my mouth, a song of praise to our God. Many will see and fear and put their trust in the Lord.”
The climax of the movement of God in our lives is that we praise Him. We wait and weep and walk so that we might worship. He deserves this because of the God He is and the work He does on our behalf. He is our Savior after all. He is worthy of our adoration and praise and it is to that end we were designed.
Notice that David is helpless and that it is God is who does the work. David is all alone until God lifts him up and sets him on the Rock (I believe this is a metaphor) and then he is in the midst of a community of the many (who see and fear and put their trust in the Lord). This is his witness. Our stories are meant to be shared! God writes our stories for His glory and our (and other's) good. Many are benefited by the stories of our “pits.” God wants us to live out the Gospel for the sake of others. We are not alone!