John writes that if we claim that we have fellowship with God yet walk in darkness we lie and do not practice the truth. To walk in the light as God is in the light does not mean perfection. It means that we have fellowship with whoever else is walking in the light and the blood of his Son cleanses us from all sin.