as luck would have it
How things turned out, as it happened, as in As luck would have it he missed his train, or The check arrived in time, as luck would have it. The luck referred to can mean either good fortune or bad. [Late 1500s]
Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.