Absolutely not. By most accounts they're terrible at fixing anything other than trivial bugs in complex codebases e.g. Linux kernel, but they're much better at finding them.

So you put it in a loop and tell it to find the bugs in the code it wrote. What's the issue?

This is a self confession if I ever saw one.