自取其咎

Etymology
From, from the book.

Idiom

 * 1) to bring blame on oneself, to ask for trouble through one's behaviour