Until recently, it seemed sensible to assume that our happiness was determined by factors such as luck, fate, or genes that are beyond our control. It was easy to believe that, in the words of Samuel Beckett, the “tears of the world are a constant quantity.”