In my opinion, chat gpt is just a productivity tool. If you know how to use it, you can do stuff that you already know how to do a bit faster. However, it won't help you do things you don't know how to do.
This is because the things it generates are often wrong. The things which it gets right can usually be found through a search engine. You need to know how to do the thing already to know whether it is right or not, and to fix it if it is wrong.
On the rare occasion that it generates actually useful code that isn't googleable, it is some combination of non-scalable, doesn't consider edge cases, bad UI, or bad coding practices.