2 John 1:9

9 Anyone who runs ahead and does not continue in the teaching of Christ does not have God; whoever continues in the teaching has both the Father and the Son.

2 John 1:9 in Other Translations

KJV
9 Whosoever transgresseth, and abideth not in the doctrine of Christ, hath not God. He that abideth in the doctrine of Christ, he hath both the Father and the Son.
ESV
9 Everyone who goes on ahead and does not abide in the teaching of Christ, does not have God. Whoever abides in the teaching has both the Father and the Son.
NLT
9 Anyone who wanders away from this teaching has no relationship with God. But anyone who remains in the teaching of Christ has a relationship with both the Father and the Son.
MSG
9 Anyone who gets so progressive in his thinking that he walks out on the teaching of Christ, walks out on God. But whoever stays with the teaching, stays faithful to both the Father and the Son.
CSB
9 Anyone who does not remain in the teaching about Christ, but goes beyond it, does not have God. The one who remains in that teaching, this one has both the Father and the Son.

2 John 1:9 In-Context

7 I say this because many deceivers, who do not acknowledge Jesus Christ as coming in the flesh, have gone out into the world. Any such person is the deceiver and the antichrist.
8 Watch out that you do not lose what we have worked for, but that you may be rewarded fully.
9 Anyone who runs ahead and does not continue in the teaching of Christ does not have God; whoever continues in the teaching has both the Father and the Son.
10 If anyone comes to you and does not bring this teaching, do not take them into your house or welcome them.
11 Anyone who welcomes them shares in their wicked work.

Cross References 2

Scripture quoted by permission.  Quotations designated (NIV) are from THE HOLY BIBLE: NEW INTERNATIONAL VERSION®.  NIV®.  Copyright © 1973, 1978, 1984, 2011 by Biblica.  All rights reserved worldwide.