Download and use Firefox as you default browser.
Windows 11 is a pain, it defaults to using Edge
Try this to set Google as your default search engine in Edge:-
1. Click on "Settings and More" icon (three horizontal dots) on the top right corner of the screen.
2. Click on "Settings" from the drop-down menu.
3. Click on "Privacy, search, and services".
4. Scroll down to the "Services" section.
5. Click on "Address bar and search".
6. From the "Search engine used in the address bar" menu, select "Google" or any other preferred search engine.