There is no shortage of pilots (tens of thousands unemployed and withouy hope of ever being employed)
There is shortage of experienced pilots with experience in type. But only when there is an abrupt expansion. These become stagnant sooner or later and then there is no pilot shortage at all, but layoffs.
Pilot shortage was the excuse to change licensing laws and saturate the market with pilot licenses so airline profits increased.