Edit: there is the thought of living within your means, personally with a roommate I could live on $10-$20K a year which you can make doing labor jobs but not a lot saving. I'm lucky being single/having no direct responsibility eg. children.
It is my opinion though that if you want to/have internet/time then you can alter your life for the better, but yeah can't just say "learn to code". But other options available. I see the point about opportunity because I had a friend to crash on his couch when I was technically homeless that is helpful/bare min opportunity.
My jump was not fast, it took at least 2 years not including the 3 years before that of self-study/personal interest. I freelanced on the side while working as a dishwasher before first in office/full time job.