It is a hard balance. We need to accept ourselves, accept who we are, but still strive to improve because no one is perfect. I think it is important to first know who you are,know what you think feel, how you respond to people in need, your family.
Then accept yourself, say this is who I am, I am not perfect, but I am trying to improve. Look in the mirror and be happy with what you see---and my friend, I know this is not easy and not something that can be done on demand. It is an aging process where we learn that we like who we are.
So the answer is that it is important to LEARN to love yourself and that is an ongoing process. I don't believe you have to have the process complete to share love or teach others. It is something I have learned over 40 years of marriage--that I am okay. That is not something I believed when I married at 19.