Sharon Salzberg said this quote

If we turn away from our own pain, we may find ourselves projecting this aversion onto others, seeing them as somehow inadequate for being in a troubled situation.