My theory is that poor people rely on cooperation with others to survive, and this forces them to develop compassion and learn good human relations at a young age. Rich people on the other had don't need others so much, and instead are much likely be in competition with them.
Even in family relations this applies. Siblings in poor families offer much needed support to each other. In rich families siblings seem more likely to be considered as competitors for parental affections at a young age, and competitors for inheritance when older. This mentality of constant competition is poisonous.
Honestly, I think that being rich is a pretty clear path to ultimate unhappiness. Better to be slightly poor in money and rich in the things that actually bring happiness, like family, health, friends, spare time, and a clear conscience.