Wiktionary
as luck may have it
adv. (context idiomatic English) by chance, luckily
adv. (context idiomatic English) by chance, luckily