It’s way too late to pretend AI won’t have an impact on programming as a profession.
Better to be excited and learn the tool as it develops than to stick your head in the sand.
A world where AI has put literally everyone “out of a job,” meanwhile, is still so far from our current reality that IMO, it’s not worth making practical day-to-day decisions on unless you are directly involved in the development or regulation of AI.