Spend some time learning to be good company with yourself. Avoid the self-created fear of being alone. Accept that we do this to ourselves. It can bring no good into our lives. We allow fear to cause us to withhold ourselves from others.
Fear breeds insecurities.
It could be said, for example purposes, that even Tarzan, Lord of the Jungle, was insecure. He would swing from vine to vine, not letting go until the next vine was safely in hand. This may make sense when you are in the jungle. When you are swinging high above the ground, your life depends on it. Your life does not depend, however, on always being in a relationship.