You're right. I should never base my self esteem on anyone, especially a disordered person but it is difficult. I have lost sense of self, purpose and intterpersonal relationships.
This is something many people struggle with so you are not alone. But yes you do need to start working on developing your strength from within. If you allow external validation to guide you then you are more likely to run in circles and stay stuck in the same destructive patterns. You decide your value. You decide who you are. No one else!
Aim to teach yourself internal validation. For example, I'm never swayed by someone's opinion of me. Life is too short to give a

what someone thinks of me. I'd rather spend my time on things that matter to me and achieving the goals I have in life. Its the ideal of having your mind focusing on something constructive and not destructive.
Always try to put yourself in positions of power in your mind. What do I mean? Eliminating all the outside noise and focusing what you can control and letting go of what you cannot control.
Also, you do not have to worry about being right or wrong here. Just share, vent, ask questions, and try to grow and heal here and lets us help you along your journey.
Cheers and Best Wishes!
-SC-