The idea that social and economic inequalities must be to the greatest benefit of the least-advantaged members of society is called:
capitalism.
communism.
socialism.
the difference principle.
socialism?
You need to look up each of those terms.
http://www.dictionary.com