Agreed. But at the same time, I think there’s some need to do things yourself to experience the difference and know why using x in this context is better than y.
If all I ever did was copy and paste the top stackoverflow result for anything I wanted to do, it’d probably work, plus some glue logic. But should I always be using that method? Are there edge cases or caveats that I might hit in my use case that weren’t a consideration for the asker’s? Does the algorithm match the kind of data types I’m already using, or will I be adding a lot of conversion overhead to make this code snippet work? Without trying things myself, the best I can do is repeat what I’ve read.
I’m not saying only code yourself by hand, certainly use tools and resources available. But you should do some.
I think it's like the progression from binary to assembly to C to higher level languages built on top of it. Coding experience helps learn how systems work, but typing code isn't likely to be the only way to learn system design, just as assembly isn't the only way to learn to code.
You'll still get broken hand-crafted code no one QAed still, and you'll get well-tested AI-crafted code that someone thought deeply about how it should function.