This is a more complex issue than it seem superficially.
ChatGPT provides accurate and comprehensive answers to many questions. It is, in many ways, much more useful than stack overflow, especially for junior developers using the most common tools and platforms.
Where ChatGPT falls down is on less common problems and especially on languages and tools - Swift/XCode for example - that are undergoing tangible revision from version to version with deprecations. In those cases it gives you answers that would have worked 1-2 versions ago, but no longer work today. It also tends to confuse language extensions for the languages and suggests them without referencing the extension.
But that said, having worked with it for some time, I have no doubt it represents the future. A successful stack overflow will couple their existing platform with LLM’s to provide better tailored solutions to common question with the ability to reference end user examples for new / less common problems.