To cause harm to a benefactor (especially one that one is dependent on, thus with the idea that this behaviour is self-damaging).
saw off the branch one is sitting on
verb
To pursue a course of action that will lead to self-destruction.
How often have the words bite the hand that feeds one and saw off the branch one is sitting on occurred in a corpus of books? (source: Google Ngram Viewer )