Pilots fly because they have a passion for flying, in the past it was possible to get a PPL, build hours bush flying and progress that way, it was always a long haul some did make it through to airline work. Bush flying is now being taken over by local pilots, expat pilots are becoming a rare breed, wether it is Africa, Australia, NZ, India, it’s the same story.
Increasingly airlines train their own recruits, but they pay up front for the training, completing training a new recruit can be flying as copilot on your holiday jet at 22yrs. Just like cabin crew, their status is a lot less than years ago. Many see themselves a glorified bus drivers because everything is automated and they just obey instructions hour after hour, there is no decisions for you to make, the book tells you what to do. They stay because at present the pay is good, probably not for much longer.
There are flying jobs that require decision making, rescue and medivac is very much hands on, my brother flys helicopters doing that, he is a ex RN pilot, enjoys every minute despite mediocre wages.