When asking it to write code, ChatGPT can and WILL produce incorrect solutions sometimes. One prompt I gave it needed two or three attempts for the result to actually work and do what it's supposed to. So, you still need developers to check and potentially fix/modify the code.