詰めが甘い(つめがあまい)

Japanese vocabulary

Meaning: having a poor endgame; failing at the final stage; missing at the last turn; slacking off at the end

See it used in real works