If you look at a graph of the US economy, and remove software and data centers, there’s basically no growth.
Don’t leave software. AI will change your job, but it won’t replace you, not even in multiple decades.
Be strategic about the kinds of software roles you get into. Look for niches with stability. Look to go toward highly regulated software niches. For example, I work in an area where it would be impossible to remove manual testers due to certain regulations.
Software work for government where you must be a US citizen or you must do specific things manually could be another example.
I also think some areas are going to be more insulated from AI disruption. I think ops and security have more stability. Anything that requires more judgment and less “take inputs and turn them into outputs.”
Moving from an upper middle class career track to something you can get into without a high school diploma is a mistake. In many trades you’re competing with dudes who are working under the table and aren’t even documented. Even if you’re not, they’re mostly hard on your body, and some aren’t even immune from automation.
Not to mention seniority. Most trades have seniority ladder that you would be starting from the bottom on… maybe in 20 years you’ll get the decent paying contracts.