paint oneself into a corner
Pronunciation:
/ˈpeɪnt wʌnsɛlf ɪntʊ ə ˈkɔɹnɚ//ˈpeɪnt wʌnsɛlf ɪntu ə ˈkɔɹnɚ/verb
Definitions
To create a predicament or problem for oneself; to do something that leaves one with no good alternatives or solutions.