Another bit to consider: It took a long time to realize that basically everyone wants basically everyone to succeed, as long as incentives align. It was very easy to imagine I was swimming upstream early in my career - especially my early mentors urging me to specialize to find success. My initial temptation was to "specialize" in hot/attractive topics in an effort to be the "indispensable X authority". But my PhD advisor urged me to "not swim in red water", where the incentives are inherently conflicting - everyone wants to be "the X person".
Much better to find a team working on a good problem somewhat like the ones you want to solve and just push along with them. You can save yourself a lot of energy by slotting yourself into a system that aligns with your preferred direction of travel, even if only a little bit. The current carries you.