Musar for Deuteronomy 23:11

כִּֽי־יִהְיֶ֤ה בְךָ֙ אִ֔ישׁ אֲשֶׁ֛ר לֹא־יִהְיֶ֥ה טָה֖וֹר מִקְּרֵה־לָ֑יְלָה וְיָצָא֙ אֶל־מִח֣וּץ לַֽמַּחֲנֶ֔ה לֹ֥א יָבֹ֖א אֶל־תּ֥וֹךְ הַֽמַּחֲנֶֽה׃

If there be among you any man, that is not clean by reason of that which chanceth him by night, then shall he go abroad out of the camp, he shall not come within the camp.

Shaarei Teshuvah

“Be on your guard against anything bad” (Deuteronomy 23:10). They, may their memory be blessed, explained (Ketuvot 46a), “A person should not think [impure] thoughts by day and thereby come to impurity by night” - and even though his thought is not to [follow it up with action]. And it is something learned from its [context]. As after it, it is written (Deuteronomy 23:11), “If anyone among you has been rendered unclean by a nocturnal emission.”
Ask a RabbiBookmarkShareCopy