Did you mean tomfoolery?
tomfoolery
noun
°Foolish behaviour.