Whoever denies the Son, the same doesn't have the Father. He who confesses the Son has the Father also.
Some readers have understood the first part of 1 John 2:23 to mean that it is impossible for a true Christian, one who "has the Father," ever to deny the Son. This interpretation seems inconsistent with other Scripture (2 Timothy 2:12) as well as human experience. Some genuine Christians have denied Christ, to avoid martyrdom, for example. In the context John wrote about an abiding relationship with God, not just a saving relationship. So another explanation is that John meant that whoever denies the Son does not have the Father abiding in him. In this view, one who denies the Son does not have an abiding relationship with the Father. This describes all unbelievers and those believers who are not abiding in God. A third explanation is that John was describing what is typical: typically those having the Father do not deny the Son, though there may be a few exceptions. However the broad "whoever" in this verse seems to imply that what John wrote is true of all. I prefer view two.