So many people completely miss the mark when it comes to AI and coding. It's great for code reviews on code you wrote yourself, and it can be handy when you're developing code for a domain you don't have much experience in.
What it is not good for is writing code on its own. Not if you want your code to be efficient, or performant, work correctly, or even compile.