Being a software engineer requires a particular mindset, a lot of time and exposure, and people willing to support that. I was lucky enough to have all of the above, but most folks do not.
I'm in the midst of helping a friend who is currently a welder move into software engineering. He's extremely intelligent and has the brain for it, but it's also taken literal years, finding him a capable dev machine (a used macbook air, donated from another engineer), tutoring him (me and another engineer, going on for two years now), and now he's going to a bootcamp (which cost thousands of dollars he didn't have in his pocket).
He is still going to have to find an actual job and make the move from bootcamp to real life. That's another involved process that will require multiple people helping him.
And again, this is a young white male who has a very high aptitude for this.
It's a bit more work than "just invest in yourself!". The average computer user has difficulty searching their own email or resetting a password. Even those with natural aptitude require help - and not a trivial amount either.