Software has been a stable industry for me, and, at least in my sector, it's growing in demand all the time.
That said, I would NOT waste money on a course.
It's not necessary to learn how, and it's not necessary to get a job. I've never worked at a company that cares about courses or certifications or anything, either. If you can write good code, that's all that matters. If a company does have that requirement, that would tell me they care more about unnecessary rules than quality software and I'd stay away anyway.
He can easily teach himself how to write any language for any purpose with a couple youtube videos, google searching, and some experimentation.
Almost all of the top notch, best, most talented coders I've ever worked with are self taught, with either no uni or completely unrelated studies.
And MOST of the coders I've ever worked with rely heavily on the practically unlimited internet coding resources regularly for work.
And I'm pretty sure I've even had steadily employed colleagues who had never seen a programming language until the day they started their job and just google everything. Those folks are definitely not the best, but they're still getting paid...
Seriously, suggest he look into it on his own, and definitely before you spend ANY money. He can take a bit to feel it out on his own to see if he even actually enjoys it, before wasting a load of money!
stackoverflow.com is a good place to start and a great place to find solutions to specific problems.
If he wants to write apps, the AndroidStudio developer software is free.
If he wants to write apps for iOS or macOS, signing up for an Apple developer account is free.