Understanding others does not depend upon having had an identical experience to what another is feeling, nor does it depend upon a course of study that develops conceptual knowledge, though each of these can contribute to understanding.
More than anything else, understanding others comes from living in a clear space where one's own needs, fears, and concerns no longer obscure truth. For the reality of what is shines with a light of its own when it is not covered over by darkness. Then, the truth of another can emerge clearly, be seen, felt, and appreciated.
It is in this way that peace in the world can be born - not through each seeking their own advantage and finding a fragile compromise that may or may not work for a time, but by each developing the capacity to come together in a clear space, in trust, and in the willingness to pursue truth.