Your purpose in life is not to love yourself but to love being yourself.
If you goal is to love yourself, then your focus is directed inward toward yourself, and you end up constantly watching yourself from the outside, disconnected, trying to summon the “correct” feelings towards yourself or fashion yourself into something you can approve of.
If your goal is to love being yourself, then your focus is directed outward towards life, on living and making decisions based on what brings you pleasure and fulfillment.
Be the subject, not the object. It doesn’t matter what you think of yourself. You are experiencing life. Life is not experiencing you.