In the terminal it has a nice "search with Google" option and I can not figure out how to get MacOS to stop opening Safari with that.
Every time I use Apple products I get frustrated at how it blocks me from doing what I want to do.
You can see and configure all available services by going to the app menu in the menu bar and selecting Services -> Services Settings
1. https://support.apple.com/guide/mac-help/use-services-in-app...
And really Apple should have made a generic service using the default browser, rather than this being a Safari provided thing. I guess the OP's "edge of anti-consumer" theory has some merit.