Verb
paint oneself into a corner (third-person singular simple present paints oneself into a corner, present participle painting oneself into a corner, simple past and past participle painted oneself into a corner)
(idiomatic) To create a predicament or problem for oneself; to do something that leaves one with no good alternatives or solutions.