This quote is reproduced in many places, with the citation "author unknown. " Many people seem to claim the quote as their own, but I did see one citation for George Eliot.
The original quote has been attributed to George Elliot. However, there is debate among literary circles as to whether or not he did say it. It is also the title to a book by B. J. Gallagher.