Bertrand Russell said this quote

Boredom is essentially a thwarted desire for events, not necessarily pleasant ones, but just occurrences such as will enable the victim of ennui to know one day from another. The opposite of boredom, in a word, is not pleasure, but excitement.