problem is most of the code chatgpt spouts is wrong, in so many subtle ways, that sometimes you just have to run it to prove it.
so basically you have to be better than chatgpt at that particular task to spot its mistakes.
using it blindly it's similar to the Gell-Mann amnesia effect
https://theportal.wiki/wiki/The_Gell-Mann_Amnesia_Effect
said by someone who uses chatgpt extensively, it is good for the structure, to get an idea, but as a code generator it kinda sucks.