I have behaved like an imbecile!
I acted stupidly.