Kick yourself - Idioms by The Free Dictionary
If you kick yourself for doing something, you are annoyed with yourself for doing it. I was still kicking myself for not paying attention. I immediately regretted having said this — I could have kicked myself.
kick yourself be annoyed with yourself for doing something foolish or missing an opportunity.
ˈkick yourself (informal) be angry with yourself for something you have done or not done: Buy it. It’s a real bargain. You’ll kick yourself if you don’t. ♢ I told John that Susan was really lazy. Then somebody told me that she was a good friend of his. I could have kicked myself for being so stupid.