自取其咎

  1. see 咎由自取[jiù yóu zì qǔ]

“have only oneself to blame; bring blame on oneself”

自己造成灾祸或自己找罪受。