Despite fear, pain, and sorrow, David knows that he is safe with God. He knows who he is in relation to Him. On his knees and with full trust, turning to God, he finds peace, even though the storm is raging around him.
I lay down and slept; I awoke, for the Lord sustains me. (5)