When they say the world is "desperately short of pilots", I think what they mean to say is "desperately short of highly experienced captains, who hold current type ratings on modern aircraft types, who are willing to work in far flung third world sh!t holes, on appallingly badly paid temporary contracts with no perks, pensions or benefits, flying badly maintained aircraft for financially dubious startup airlines".
Because those are the only jobs that have been on offer the last 20 years or so, that haven't been overrun with 100 x more applications than available jobs