Sharon Salzberg said this quote

It is awareness of both our shared pain and our longing for happiness that links us to other people and helps us to turn toward them with compassion.