We all have a unique path and journey, each one of us. Just because we had a similar experiences that doesn’t mean that our friend, partner, child, parent or stranger had exactly the same. Additionally it may have occurred at a different part of our growth in life, we are different so how we reacted would have been different too, so the whole experience would have changed.
Essentially, it is better to listen, understand and empathise with our friend, partner, child, parent or stranger, rather than make about ourselves and our story, which they often may not want to hear or care about.
Fixing and telling others is not understanding, it is ego. If they seek our view or advice, that is different, but simply using the time in which the other is speaking to prepare our answer about our story is simply all about us.