自取其禍

自取其祸
huò

to bring disaster upon oneself

Wiktionary

Entry Composition