Maybe when it comes to any coding-related learning, I can agree with that point.
However I think the future of education in general is very bleak. When we have plummeting scores for the PISA exam across the world [1], I fear people will get dumber and dumber.
There will always be those who thrive, but the easier it is to obtain information/knowledge, the less I think people have an incentive to do it. And I don't buy that AI will solve all intellectual jobs anyway.
[1] https://www.dw.com/en/pisa-2026-results-reading-math-scores/...