Viktor Frankl's body of work deserves a plug. Meaning can be found in the worst conditions, it's quite subjective. With meaning comes contentment. Buddhist teachings also deserves to be mentioned. Suffering comes from clenching to what the external world should be instead of just accepting how it is.