事出有因

shìchūyǒuyīn

everything happens for a reason

Wiktionary

Entry Composition