塞翁失馬安知非福 [ㄙㄞˋ ㄨㄥ ㄕ ㄇㄚˇ ㄢ ㄓ ㄈㄟ ㄈㄨˊ; sai4 weng1 shi1 ma3 an1 zhi1 fei1 fu2]
  the old man lost his mare, but it all turned out for the best (idiom); fig. a blessing in disguise
  it's an ill wind that blows nobody any good
  also written 塞翁失馬焉知非福
  ◄ ►