Optimizing for happiness is a hopeless endeavor stymied by the hedonic treadmill. Instead it's far more productive to observe the emotional need for happiness at a distance, like a tide that rolls in and out. Like all emotions, the only thing we control is how we respond to them. Becoming too attached, even to happiness is a fool's errand.