as luck may have it

Adverb

 * 1)  by chance, luckily