Is it better to learn to love ourselves first before we attempt to enter into meaningful relationships with others? It’s an interesting question and, like any complex question, its answer might vary depending on each individual and his/her unique circumstances.
On the one hand, if someone has several issues to deal with that hold them back from maintaining friendships and other relationships, it can be helpful for those issues to be worked through (at least to a degree if not fully) before they cultivate relationships.