That fits into the understanding that the 1st Amendment section about religious freedom was backed by religious groups who did not want to become subservient to a single religion as was the case in Europe.
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.