To take a position which is harmful to one's own interests.
fox in the henhouse
Someone untrustworthy placed in a position of trust in which they will…
stand in the gate
To occupy a place or position of advantage, power, or defence.
stand one's ground
To maintain or adhere to an opinion or position; to remain resolute in…