That's a fluke.

That's a fluke.
That's a fluke" means something happened by chance, and it was surprisingly successful. It's often used when referring to outcomes that seem random or accidental. For example, if someone makes a half-court shot at a basketball game on their first try, you might hear a spectator exclaim, "Wow, that’s a fluke!
Believe it or not, winning the lottery was a fluke.
Winning the lottery was pure luck.
That goal he scored was totally a fluke.
The goal he scored was purely accidental.
No one expected him to win, his victory was just a fluke.
His unexpected victory was just a stroke of luck.