Happiness as the foundation of life