There is always value in bad experiences. But if someone has a choice between a low paying bad job at mcdonalds and a coveted high paying job; it wont make any sense to pick the bad job at all from an economical and investment standpoint.
The earlier you make more money, the more potential growth in the long-term.