Jane Austen said this quote

The politeness which she had been brought up to practice as a duty made it impossible for her to escape; while the want of that higher species of self-command, that just consideration of others, that knowledge of her own heart, that principle of right which had not formed any essential part of her education, made her miserable under it.