
Be, come, etc. within a whisker of something/doing something
Closeness
This phrase emphasizes a narrow margin by which something almost happened but didn't. 
Near Success
It's often used to talk about almost achieving a positive outcome or success. 
Tension and Drama
The phrase can be used to create a sense of drama or suspense about the outcome. 