No one will love you as you deserve if you don't first learn to love yourself.
It's not about being perfect or infallible. We can only do our best and learn from our failures, so that we can do better next time. Be living examples that show the way to others.