
By a nose
Racing Origin
The phrase originated from horse racing, where races can be so close they're decided by the length of a horse’s nose. 
Figurative Use
This phrase is often used figuratively to denote any narrow victory, not just in actual races or competitions. 
Emotionally Charged
Using 'by a nose' can convey a sense of excitement or relief from a near defeat and is ideal for dramatic storytelling. 