back/paint somebody/yourself into a corner

paint yourself into a corner

or

box yourself into a corner

If you paint yourself into a corner or box yourself into a corner, you create difficulties for yourself by your own actions. The Government has painted itself into a corner on the issue of equalising the State pension age. You've boxed yourself into a corner, haven't you? You have no one to blame but yourself. Note: You can also say that someone paints you into a corner or boxes you into a corner, meaning they force you into a difficult situation. You'll fight to the death when you're boxed into a corner unless you're provided with a reasonable way out. Note: `Paint someone into a corner' refers to someone who is painting a floor and ends up in a corner of the room with wet paint all round them. `Box someone into a corner' refers to a boxer being forced into a corner of the ring and having no way of escaping.
See also: corner, paint
Collins COBUILD Idioms Dictionary, 3rd ed.

paint yourself into a corner

leave yourself no means of escape or room to manoeuvre.
See also: corner, paint
Farlex Partner Idioms Dictionary

back/paint somebody/yourself into a ˈcorner

(usually used in the passive) force somebody/yourself into a very difficult position that they/you cannot escape from: The President had backed himself into a corner by promising not to raise taxes.
See also: back, corner, paint, somebody
Farlex Partner Idioms Dictionary
See also:
  • fight (one's) corner
  • fight your corner
  • kitty-corner
  • kitty-cornered
  • a tight corner
  • hand it to
  • hand it to (someone)
  • hand it to someone
  • distant
  • distant corner of the world