I think it is a good spirit :-). I believe there will always be a need for people who understand the code generated by AI, be it to review it, but also to actually make it work when the AI fails.
The thing is, to be useful next to an AI, you have to become really good at software (note that I said "software", not "coding"; it includes architecture). And to be optimistic: one advantage of students today is that AI can help them learn. Back in the days it was a lot harder to find help, then StackOverflow helped a lot, and I'm sure AI helps even more now.