Psalm 86:7 (WEB)
In the day of my trouble I will call on you,
for you will answer me.
Jesus told us that in the world, we would have trouble. He went on to encourage us that we could be cheerful because He had overcome the world. In this Psalm, David is calling out to God to help him. David is aware of the many promises that God made to Israel and was confident that when trouble came, God would answer him.