fall at the last hurdle in Spanish
fall at the last hurdle in Spanish
quedarse a la puerta
(intransitive, idiomatic) To fail near the end of an activity, a project, etc.