la idiotez

feminine noun

idiocy, stupidity, stupid thing

"Dijo una idiotez y todos rieron."

He said something stupid and everyone laughed.