You missed a chance to demonstrate your competency to yourself.
I have had plenty of days like you just experienced and no longer have to prove anything to anyone least of all myself. At the time though I felt just as you did that I was on top of my game.