If we say that we have fellowship with him and walk in the darkness, we lie, and don't tell the truth.
You cannot have fellowship with God and walk in darkness. Now, don't be deceived about this. Many people are deceived on this score; they think that they have fellowship with God but they are walking in darkness, and that is an impossibility.