There is a lot that is irrational about a career as a pilot. As has been said people would give up good steady jobs to do the job or invest insane amounts to self train.
That all begs the question whether people nuts enough to go through all of that are fit to have the lives of hundreds of people in thheir hands.
A bit of a paradox really.