David is now later in his years and more mature. One would think that King David’s life would end with him sailing into the sunset on calm seas. But guess where David is? He has found himself walking in the midst of trouble again (v.7) and crying out to the Lord (v.3). He is in survival mode but David has learned to face it with a God-given strength of soul (v.3). Maybe you are walking in the midst of trouble just trying to survive? David shows that the answer to a strong soul is thankfulness to God with your whole heart, fueled by the gospel.