There are unhappy people on all incomes but, generally, in richer countries there are fewer of them, on average.