People are paid based on their worth. If you are not worth that much, then you will not be paid that much. The harder you work, the more your worth increases, which means you will be paid more.
No, there are too many other variables such as education, experience, and tenure that determine a fair salary