gōng​kuī​yī​kuì

to fail through lack of a final effort

Definitions

gōng​kuī​yī​kuì

lit. to ruin the enterprise for the sake of one basketful; to fail through lack of a final effort; to spoil the ship for a ha'penny worth of tar (idiom)

Sources