To each according to his contribution
In capitalism, the means of production are owned by a few people; these people are also known as the bourgeoisie. These people do not produce, but they live off the work others do for them. Socialism can fix this issue, because with socialism, the means of production are owned by all people, they are a common good.