There will NEVER be a shortage of pilots at companies that provide the most desirable of jobs. For other employers that provide less desirable jobs, they either improve the terms of employment (compensation, benefits, QOL, etc) or face pilot recruitment & retention issues.
The free market at work!