Comunism works only if all people are altruistic, hence the emphasis on education in comunist countries.
Capitalism works even if all people are egoistic, it is not nice but it works.
Let's consider the worst job it can be: cleaning public toilets
In a ideal comunist society where you have equal pay, why should you do it ?
You can have better job for same pay
So the state should enforce that everyone from time to time washes public toilets.
So here it goes your freedom
Also because you force educated people like medic to waste time cleaning toilets, you are not efficient.
A medic might get ill , not make his consultations and people will die.
On the other side on the capitalism inequal pay and need to survive forces some people to do worst jobs .
But the system is more efficient, it allocates the right person for the right job.
People from the bottom are sacrificed so that the system works. It is communistic in a way.
People's freedom is limited by the money they have.
In order to improve capitalism you must improve social mobility so money can be aquired easily, or improve the working conditions of the poor.
But people defend their own turf and don't allow others to challenge their position and they are managers who what to suck every profit even at the expense of working conditions.