William Hazlitt said this quote

To be capable of steady friendship or lasting love, are the two greatest proofs, not only of goodness of heart, but of strength of mind.