In Psalm 16 I notice that David found contentment even in difficulty through his relationship with the Lord. He will show David the path of life.