So ChatGPT can't generate code that always works on the first run. But neither can you. That doesn't mean you're a bad programmer, because you can catch the errors and immediately fix them. ChatGPT does that too. The errors it makes are similar to errors humans make. Fixable.