It is not. The resources which went towards that mansion would be (by your definition) much more efficiently spent elsewhere. The utility which one wealthy person gets from a 20k sqft mansion is much smaller than the total utility which 20 homeless people would get from a 1k sqft apartment.