ChatGPT is just a glorified google search result text to speech. It will with confidence tell you things that are factually wrong because it's not made to fact check, it's just made to read out the first result it can find.