What to do in this situation?

Solution 1:

The odds of hitting that mine were 1/9 ≈ 11%. The odds of hitting a mine anywhere else on the board were 98/471 ≈ 21%.

So you made the right choice, and got unlucky. That's Minesweeper.