Safari does not go to any other site than apple.
I hate adding anything to the standard apps provided by the computer manufacturer. But, on one of my computers, Safari does respond to any site except Apple.
I do not believe I changed any settings in either Safari or System Preferences that could have this effect. Duckduckgo works just fine, which I think, eliminates any changes to System Preferences.
Mac mini, macOS 13.4