A Theory of Social Structure and the Quality of Life