Why can't ChatGPT correct mistakes in text?

ChatGPT should check better, for example it didn’t detect an error: “havin”.