I believe, that when people learn programming mainly from LLMs, they will navigate themselves into a corner faster than with regular learning. i.e. they learn anti-patters and won't be able to get out of they local optimum.
On the other hand: that's happening today already en masse, so I am not sure if it can actually get worse.
I agree, that LLMs as an addition to the established resources (teachers, books, youtubers, etc.) will have lots of value.