Jane Austen said this quote

An interval of meditation, serious and grateful, was the best corrective of everything dangerous.