A person can make himself happy, or miserable, regardless of what is actually happening 'outside,' just by changing the contents of consciousness.
Mihaly Csikszentmihalyi (2001). “Flow: the psychology of optimal experience”