Well best answer to this is easy.
Improve the salary and conditions.
Can you blame pilots for jumping ship for better airlines?
If you was garbage collector making 15 usd per hour.
Established trash collector with better contract said 20 usd an hour.
What would you do?
Then look at the profit for airline and managers, this is not selling toothbrushes.
You have to pay the salesman.
Cant keep all in pocket as salesman does all the work same as pilots.
Some how management never gets it,
Profit lost fighting salesman/pilot would never equal profit gained if salesman paid correctly and in line with program.
Profit would increase dramatically.
Salesman stops selling all gone, pilot stops flying the same.
Hope some management reading this.