Negative experiences are never pleasant, but they can still provide meaning and purpose in our lives.