рубить сук на котором сидишь
to bite the hand that feeds
you're cutting your own throat
you are sawing the branch you're sitting on
to shoot oneself in the foot