You are probably just coming out of a phase where you felt distant from God. I've been like that before, but always ended up turning back eventually.
But if we walk in the light, as He is in the light, we have fellowship with one another, and the blood of Jesus, His Son, purifies us from all sin.