Sharon Salzberg said this quote

The more we identify and acknowledge moments when we’re unable to share in someone else’s pleasure and ask ourselves whether another person’s happiness truly jeopardizes our own, the more we pave the way for experiencing sympathetic joy