Walter Benjamin said this quote

Boredom is the dream bird that hatches the egg of experience. A rustling in the leaves drives him away.