Louis Pasteur said this quote

Chance favours the prepared mind.