Hit the jackpot

Meaning: To achieve a major success or obtain something extremely valuable.

Example: The company hit the jackpot when it discovered a new market.