Wiktionary
kick oneself
vb. (context idiomatic English) To reproach oneself for making a mistake or missing an opportunity.
Usage examples of "kick oneself".
There was only one way to deal with boredom---kick oneself out of it.