Here is an exercise... flip the table and think if our industry was going away and you needed to find a job in a completely new industry/job role. Personally for me about 95% of the things I can think of make me want to immediately throw up... sales, medicine, advertising, law etc. - no thanks they are just not me. I've known people who have transitioned into tech from other industries chasing the money here... they are usually gone within a year or 2.
The other problem is despite all the crap about "I learned to code in 2 months" it is a really long haul to become good. Probably similar to becoming a good author or painter.
Lastly, it is quite well known that some people in software can have a lot of economic problems as they get older not to mention some of the cultural problems in tech in certain places that have been well covered here. I guess the point being that I think its really really difficult to do software development if your not genuinely excited about doing the day-to-day stuff.