How to hide Spotlight in menu bar but keep the ⌘Space keyboard shortcut?
The easiest way I know to do this is with a third party app like Bartender (https://www.macbartender.com). The app is used to hide pretty much any menu bar icon, and has a lot of great features. It's kind of a "must have" for and Mac Power User.