In order to have great happiness you have to have great pain and unhappiness - otherwise how would you know when you're happy?
When things are bad, we take comfort in the thought that they could always get worse. And when they are, we find hope in the thought that things are so bad they have to get better.