Find the word definition

Wiktionary
as luck may have it

adv. (context idiomatic English) by chance, luckily