gōng​bài​chuí​chéng

to fail at the last hurdle