Loving properly

Do you think if someone doesn’t know how to love themselves properly or anyone in a relationship properly.. that they could love their kids properly? I will edit for clarification if need be.