I used chatGPT to learn the Julia language earlier in the year. Its been amazingly helpful in translating code and some troubleshooting, but I still needed to use all the resources to adequately learn it. Eventually, after about 2 weeks id say that I got pretty competent with the language and was able to memorize the language to the effect that I could troubleshoot and navigate it effectively.
I hope that schooling as it pertains to the future follows along a similar trajectory. Where the educators are teaching less about rote memorization, but rather about learning how to learn from the endless resources available. Teaching students how to seek out answers to their own questions instead of a specified curriculum and discriminating from the bullshit answers from search and/or AI.