The function of mental processes is to mediate between the needs of the organism and the demands of the environment.
The best way to cheer yourself up is to try to cheer somebody else up.
The challenge is to transform the constraints into opportunities.