That's not how capitalism works and that's not why companies exist. Companies pay you what you worth to them. A company is not a human, it doesn't care whether you have a family and are struggling or not.
The primary purpose of a business is to maximize profits for its stakeholders.
Then the answer is simple, if we want humanism in the way we deal with employees, than businesses that seek to maximize profits for their stakeholders should be outlawed.
The primary purpose of a business is to maximize profits for its stakeholders.