Act against one's own interest, not know on which side one's bread is buttered, quarrel with one's bread and butter, kill the goose which lays golden eggs, throw a stone in one's own garden.
STAND IN ONE'S OWN LIGHT
Meaning of STAND IN ONE'S OWN LIGHT in English
Soule. Dictionary of English synonyms. Словарь английских синонимов. 2012