It definitely is worse. Depending on which hits your doctor uses, there is legit medical knowledge on the internet, while chatgpt will just make stuff up.
I know a lot of young people see no difference between chatgpting something and googling it, and google has become really awful, but there is still a huge difference, since you can make google results better by using your brain and source criticism, while there is no such option with chatgpt.