Because of the need to get rid of the old ways of repentance from the OT while pleasing the Jews who were still very much wrapped up in those rituals.
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.