27/10/18 Dodge a bullet
To narrowly avoid something or some situation that turns out to be undesirable, disastrous, dangerous, or otherwise harmful.
A: “I heard that John has become a drug addict and is living out of his car. Didn’t you two used to date?”
B: “Yeah, but we broke up about five years ago. Looks like I dodged a bullet on that one.”