Everyone else in the firm lost money in the real estate deal, but Bob came out smelling like a rose.
If I can just finish my research paper on time, I'll come out smelling like a rose by the end of the school year.