And this is said in confirmation of the above. If we received from the Teacher the commandment to love one another, then, without a doubt, if we believe that our Teacher Jesus is the Christ, and He is the Christ in the sense that He is God and man together, we must also keep His commandments, as those of a Teacher and as those of God. And believing that He is God, we receive the name of His children, as it is also said in the Gospel: "to those who received Him, He gave the right to become children of God" (John 1:12), that is, those who believed in Him also became His children. And if we have ...been born of Him, then, without a doubt, we must also render what is due to our Parent, that is, love the One who begot us. And if all of us who have believed have been born of Him, then we must love one another both as brothers and as those born of Him.
In confirmation of this the apostle also says that he who loves the one who begat also loves the one begotten of him. Then again he says that love for the brethren or children of God proves love for the One who begat. Above he was saying that he who loves God also loves his brother, but now he says that he who loves the children of God also loves God, and he sets forth love for one's brother as proof of love for God.
Source: Commentary on 1 John