On the attainment of happiness