ChatGPT and AI might eventually change the nature of some programming jobs, and make others obsolete. Still way too soon to be seen. It shouldn't stop you from learning to code. If you want a job that's more stable, where things don't change, you might try a doctor or priest.