Psalm 31 records some important things that King David learned about the Lord in the midst of a serious trial.