This hallucination concept happened to me. As once I asked a tricky django modelling question to ChatGPT. It gave me the wrong answer with full confidence. After modification of the question, it was still completely wrong. You can't blindly rely on it.