【sài wēng shī mǎ ān zhī fēi fú】

  1. the old man lost his mare, but it all turned out for the best (idiom); fig. a blessing in disguise
  2. it's an ill wind that blows nobody any good
  3. also written 塞翁失马焉知非福