To each one according to their needs, from each one according to their capabilities.
People would still need to work, we are not abolishing the concept of work, what we want is a distribution of the value produced by the workers for the workers, so, for example, a disabled person wouldn't have the same working hours of an able-bodied one, or a person that has to provide for a family of 4 wouldn't earn the same as a person that lives by themselves.
That is 100% true in a capitalist society. You are measured by your ability to produce.
Edit: Apparently this needs some clarification. You are measured by your ability to produce for your owner.
To each one according to their needs, from each one according to their capabilities.
People would still need to work, we are not abolishing the concept of work, what we want is a distribution of the value produced by the workers for the workers, so, for example, a disabled person wouldn't have the same working hours of an able-bodied one, or a person that has to provide for a family of 4 wouldn't earn the same as a person that lives by themselves.