el capricho

masculine noun

whim, caprice

"Compré la lámpara por capricho; ahora la temo."

I bought the lamp on a whim; now I fear it.