The pilots have not been mistreated! They have been paid about as well as the industry can afford - every industry tends to pay their staff about as well as they can afford
Well something has gone wrong with this theory - because it looks like what they can/could afford is apparently about to bite them in the arse.
I suspect they may have to learn how to afford a bit more now.