I don't think the salary difference is completely unjustified. It makes sense companies want to save as much as possible. Constantly being on a job search is not feasible though, at least not if you want to have some time for yourself and family.
There is a sort of asymmetry with how full time salary jobs work, where companies push employees to their limit, implicitly asking for all their focus (or else you risk bad reviews or worse), and at the same time they treat them like assets than can be moved around like chess pieces. The consistent thing would be to allow employees to do their job without caring about the organization, without liking the product, etc., or if the company wants that level of loyalty and passion, they should reciprocate and make sure their salary is growing with their careers and compensating for things like inflation.