Whoever denies the Son, the same doesn't have the Father. He who confesses the Son has the Father also.
To summarize, John warned his readers of the danger to their intimate fellowship with God that the teaching of those who denied that Jesus is the Christ posed. If they rejected the Son, they could not expect an intimate relationship with the Father.