It doesn't matter if people leave our lives. What is meant to be will always stay. If you reveal yourself fully to another, and they reject you outright, it is a gain, not a loss. No person or situation is inherently "bad", it is simply your reaction to it. To open yourself up despite the fear of complete rejection is beautiful. It is not something to be ashamed of to shed the facade we are all guilty of hiding behind. Nothing is more raw or astonishing than the unfiltered version of ourselves. One day we will see why the others didn't work out. Why the others rejected us despite our efforts. Why they decided to flee at the first sign of our true selves. When we accept ourselves for who we are is when we will find peace. We shall not receive peace seeking solace and approval from another. No human relationship is truly perfect. They are rife with suffering, ignorance, and pain. No matter how "perfect" they seem for us, we will part ways. One of us will die. One of us may get sick. One of us may leave to be with another. Our love may crumble. Our interests may change. Undoubtedly, we will go along different paths. Instead of mourning this inevitability, we should embrace the impermanence of our situation. We should celebrate the lessons we learned from this beautiful soul. We should rejoice in the happy memories we once had. Things that may be lost, but never forgotten.
Yes, the lesson has been learned.