François De La Rochefoucauld said this quote

Extreme boredom provides its own antidote.