It's for the best.
Learning how code works is better than getting an LLM to produce convincing looking code without anyone having an understanding of how it works.
LLMs just teach students to paint themselves into a corner without them even realising why bad things keep happening to them.