I can't fathom how the answer to the pilot shortage couldn't simply be "pay them more". They are flying $100 million dollar planes, pilot salary must be a drop in the bucket.
Also to compensate for more responsibility and experience.
But we aren't logical beings, and pay is part of social status.