A study found that earning more money increased happiness for people who were already happy, but not for those who were initially unhappy