I once had a colleague that couldn’t spend time alone, not even in her house. She once told me she felt as she had no identity.
Whenever her husband was out, she will meet a friend or go to the gym. She had to be surrounded by people.
This was ages ago, but I never forgot her. Her way of relating to herself impressed me, negatively.
I hope that, like you, she made peace with herself (the interpretation I do is that she didn’t like herself), and learned to love herself.
It all starts with us.