Idiots writing tons of code with AI will create employment for armies of people who actually know how to debug it into working.
Remember Knuth's witticism about debugging being twice as hard as writing? So if you're as clever as you can be when writing a program then you might not be smart enough to debug it?
Now suppose you're as clever as you can be, plus armed with AI ...