Dictionary.com
Thesaurus.com

foul one's nest

Idioms  
  1. Also, foul one's own nest. Hurt one's own interests, as in With his constant complaints about his wife, he's only fouling his own nest. This metaphoric expression transfers a bird's soiling of its nest to human behavior. [Mid-1200s]