A narrow escape.

Meaning: Having a narrow escape, means you have just survived a dangerous situation.