Not loving myself

I have been trying to move forward on my professional goals and on my personal ones (I’m single, willing to find someone) and I have come to the thought that it might be because I don’t love myself at all, or enough. I don’t love myself so I don’t allow me to succeed in my professional career and I don’t love myself so I keep meeting people who don’t love me / or I’m attracted to people who don’t love me. If this is the reason for my problems, how can I change this? And how can I be sure this is the problem?