If you don't believe that, then it leads to nihilismm, apathy or Marxism. The idea that there is or should be a link between effort and reward is fundamental to any functioning society. It's actually people who don't believe in the just world hypothesis who end up acting anti-socially, as history makes clear.