The ability to find meaning and purpose in life and maintain hope and optimism during difficult times.