Think of ChatGPT as an elaborate form of autocomplete. Its (pre)trained on texts from the Web. It has no idea of truth, logic, math, physics. It is a clever text generator that absolutely requires humans, for good or ill.