Jane Austen said this quote

But it was a matter of great consolation to her, that what brought evil to herself would bring good to her sister; and Elinor, on the other hand, suspecting that it would not be in her power to avoid Edward entirely, comforted herself by thinking, that though their longer stay would therefore militate against her own happiness, it would be better for Marianne than an immediate return into Devonshire.