If you're learning to code now, using an LLM, who's to say that the LLMs won't improve faster than you do? In 10 years will there be a recognisable programming job for most people learning programming now? We're standing on a cliff watching the tide rise, wondering if it'll reach us. People learning programming are down in the sea, trying to climb up out of it.
Years ago taxi drivers actually needed to know their way around their local area. Then we got GPS and mapping apps, meaning Uber could exist and any random dude could be a taxi driver instantly. In future* the drivers will be unnecessary and the cars will be the drivers too. [*timeline 5-50 years]
In the early 2000s there were plenty of jobs for mediocre developers making websites for small companies. Now we've got Facebook, Squarespace & Shopify, that role is gone.
Lots of observations around here recently about how kids are less tech-savvy now, they know how to use appliances - not general purpose computers. Make stuff easy enough that anyone can do it, and nobody will know how it works.