cavar a própria cova

Etymology
lit. 'to dig one's own hole'.

Verb

 * 1)  to dig one's own grave