Søren Kierkegaard said this quote

Boredom is the root of all evil. It is very curious that boredom, which itself has such a calm and sedate nature, can have such a capacity to initiate motion. The effect that boredom brings about is absolutely magical, but this effect is one not of attraction but of repulsion.