Specialize, Specialize, Specialize.
Own and find your niche, focus on the niche and nothing else.
But you can own multiple niches.
You can specialize in multiple areas.
And what you learn in one will inevitably help you in what you need to do to master the other.
The only time it’s scary to be a generalist is when you make assumptions for things you don’t because you have gone as deep as you need.