as luck would have it

As luck would have it is a way of speaking about good or bad luck after the way something turned out. By saying as luck would have it, you are saying that as it turned out, this is what happened. In other words, by chance this is how things ended up. It can be used to describe something that shows it to be good luck and on the other hand, things that may have been bad luck and turned out badly.