Material gains don’t seem to have made people any happier.