idiom
paint oneself into a corner
Meaning
to create a situation where one has limited options
Example
He **painted himself into a corner** by promising too much.