2 John 1:9

9 Whosoever rebels and does not abide in the doctrine of the Christ, does not have God. He that abides in the doctrine of the Christ, the same has the Father and the Son.

2 John 1:9 In-Context

7 For many deceivers are entered into the world, who do not confess Jesus Christ coming in flesh. This same is a deceiver and antichrist.
8 Look to yourselves, that we not lose those things which we have wrought, but that we receive a fulfilled reward.
9 Whosoever rebels and does not abide in the doctrine of the Christ, does not have God. He that abides in the doctrine of the Christ, the same has the Father and the Son.
10 If anyone comes unto you and does not bring this doctrine, do not receive him into your house neither say unto him, Welcome:
11 For he that says unto him, Welcome, is partaker of his evil deeds.
The Jubilee Bible (from the Scriptures of the Reformation), edited by Russell M. Stendal, Copyright © 2000, 2001, 2010