功虧一簣

Etymology
From the Forged Old Text chapters of the  (《尚書·旅獒》):



The phrase likely originated as a paraphrase from the Analects, Book 9 (《論語·子罕》):



Idiom

 * 1) to fall short of success due to the lack of a final effort