If we say that we have fellowship with him and walk in the darkness, we lie, and don't tell the truth.
Those who know God will obey his Word. These are the true Christians. Their obedience results in assurance of salvation, greater love for God, and lives that become increasingly like the life of Christ (3-6).