交臂失之

jiāo bì shī zhī

to miss sb by a narrow chance

to miss an opportunity

jiāo

to hand over; to deliver; to pay (money); to turn over

arm

shī

to lose

zhī

(possessive particle, literary equivalent of 的[de5])