Throughout the Psalms we find David go from states of absolute despair, to absolute joy and confidence in the Lord. These drastic changes in state of mind are possible because when he is down he knows to lean on prayer. Pastor JD encourages us to lean on prayer too. When we are sad or scared, truly the best thing we can do is pray.