It’s better to get paid $0 being in the right field for a bit than actually being paid in the wrong path. It’s negative money unless you are using it to pivot into the right path via education.
Which brings me to an aside, College for many people is a good example of a dead-end job. Not only did you not get paid, but someone also took your money wasting your time down a trail that many people pivot out of (your Classics majors that switch to Dev, congrats on paying to be led astray for 4 years).
But software can also be a dead end job if you chased the money and went off the trail of the path you should have kept investing in.
All this shit takes vision honestly.