Equal pay = no motivation

Hello,

question from a relatively new person to this sort of stuff. People I argue / debate with often bring up one point that I don't know how to disprove, mainly that if everyone is payed equally there is no motivation to actually do your work (or at least do it well) and everyone will end up being lazy and doing the bare minimum, since you do not get rewarded. How do I counter this point?