idiom
a close call
Meaning
A situation where a disaster or accident was narrowly avoided.
Example
That was **a close call** — the car almost hit us!