וַיֹּ֨אמֶר יְהוָ֤ה אֶל־מֹשֶׁה֙ לֵ֣ךְ אֶל־הָעָ֔ם וְקִדַּשְׁתָּ֥ם הַיּ֖וֹם וּמָחָ֑ר וְכִבְּס֖וּ שִׂמְלֹתָֽם׃
E o Eterno disse a Moshe: "Vai ao povo, santifica-os hoje e amanhã, e lavem suas roupas.
Mishneh Torah, Forbidden Intercourse
Immersion was in the desert before receiving the Torah, as is said, "Sanctify yourselves today and tomorrow; wash your clothes." The offering, as is said, "Send the young ones of Israel to bring elevation offerings" - and everyone in Israel brought them.