paint oneself into a corner
paint oneself into a corner {v. phr.}
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:
Source: A Dictionary of American Idioms