In order to be happy, think of the ills you have been spared.
Misery is almost always the result of thinking.
It is an aspect of all happiness to suppose that we deserve it.