A better analogy would be
"It's like quiting the infantry after artillery and tanks were invented in WWI"
You could probably make more money today as a programmer just fixing bad AI generated code for people than you could working on your own projects I reckon, by a long shot.
So much AI slop code that needs fixing