I don't need to think about others having it worse off than me to feel good about what I do have.

Rather, learn to appreciate what you have and be optimistic, without needing the comparison.

Have something to do.
Have someone to love.
Have something to look forward to.

Those three have kept and will always keep me happy.