We've butchered the concept of product market fit. But, with team/market fit:
→ When a great team meets a lousy market, market wins.
→ When a lousy team meets a great market, market wins.
→ When a great team meets a great market, something special happens.
TLDR: Pick a market that you can win. Market matters most.
Caveat: There are edge cases where a product effectively creates a market (aka AirBnB, though that's the exception, not the rule)