I could kick myself

I am annoyed with myself for doing something

e.g. because I forgot to backup my project on the computer, I had to spend three days rewriting; I could have kicked myself for not backing it up!