功亏一蒉

fall short of success for lack of a final effort

gōng kuī yī kuì ㄍㄨㄥ ㄎㄨㄟ ㄧ ㄎㄨㄟˋ