Sentence:  He <WSD>fouled his own nest</WSD>. So by now he realizes it was his own fault and he had it coming. 
Meaning of the word marked with <WSD> tags:  To hurt one's own interests, especially to damage the reputation of one's self, family or group.