Psalm 16 is an outline of the path of life that, if followed, will give us a peace about life now and a hope about eternal life to come. David wrote this psalm out of personal difficulty, but by the end of it he was expressing his hope and confidence about life here and life to come.