Making vidduy (confession of sin) [to Hashem] of their averos (sins), they were submitted to a tevilah (immersion) by him, using the Yarden River as a mikveh mayim (gathering of water).