It is for someone who really wants to work in a coal mine. (Or, for a more germane example, someone who wants to be an infantry soldier.) Not everyone shares your priorities or ideas on what constitutes rewarding work. Some people might find a well-compensated 9-to-5 job slinging code under fluorescent lights to be just the ticket, and they should get to pursue that to the best of their ability on their own merits.
Restricting certain people from (or pushing certain people into) certain jobs based on their gender, skin color, or other irrelevant factors beyond their control is a fairness issue that transcends the particulars of the jobs that they are being restricted from.