2 John 1:9

9 Any one who goes ahead and does not abide in the doctrine of Christ does not have God; he who abides in the doctrine has both the Father and the Son.

2 John 1:9 In-Context

7 For many deceivers have gone out into the world, men who will not acknowledge the coming of Jesus Christ in the flesh; such a one is the deceiver and the antichrist.
8 Look to yourselves, that you may not lose what you have worked for, but may win a full reward.
9 Any one who goes ahead and does not abide in the doctrine of Christ does not have God; he who abides in the doctrine has both the Father and the Son.
10 If any one comes to you and does not bring this doctrine, do not receive him into the house or give him any greeting;
11 for he who greets him shares his wicked work.
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.