paint oneself into a corner

To get oneself into a bad situation that is difficult or impossible to get out of.
By promising to both lower taxes and raise the defense budget, the president has painted himself into a corner.
Categories: {v. phr.}