Firefox is slightly better in this regard but it still searches when what you typed isn't a prefix match for something in your history,bookmarks,whatever.
It's extremely annoying behavior and the go-to add-on "Enter Selects" that fixes doesn't work with WebExtensions.
I have a separate search and address box! It doesn't change the behavior.
If you have a bookmark "Hello World!" pointing to "example.com" and type "Hello" the selected option will be "Search with Google" and not the top bookmark entry.
Firefox (at least for me) does the same thing and pushes search results before websites. I have to arrow or tab down 4-5 selections before I get to the first website result in the url/search bar.
Not sure why you were immediately downvoted. This is absolutely correct. Firefox only prioritizes websites over search when what you typed in the omnibar is an exact prefix match for a site.
Take a bookmark for mail.mycompany.com bookmarked as "Email" -- if you type "mai..." it will complete but if you type "emai..." it will search.
Alternatively, use Firefox.