功败垂成

Traditional功敗垂成

  1. to fail within sight of success (idiom); last-minute failure
  2. to fall at the last hurdle
  3. snatching defeat from the jaws of victory

“fail when success is already in sight; fail in a great undertaking on the verge of success”

垂:接近,快要。事情在将要成功的时候遭到了失败。

Origin 《晋书·谢玄传论》:“庙算有余,良图不果;降龄何促,功败垂成。”

Example 况且十二道金牌,他未必不知道是假的,何必就班师回去,以致~。(清·吴趼人《二十年目睹之怪现状》第六十一回)