Popular religious texts are important to look at because, for a time, they were all everyone was looking at; they were the Netflix of the day. These texts came from, and reinforced, certain bodies in the past, and they still help to construct bodies today.
There are two important passages in the Bible that address wet dreams directly: Leviticus 15 and Deuteronomy 23. In Leviticus 15, God tells Moses and Aaron that all their bodily discharges are unclean, and that a man who has had an “emission of semen” must wash everything that came into contact with it. The man himself is “unclean,” (which means he can’t eat holy foods, and he can’t read scripture or pray) until evening. Semen ‘out of place’ [SOOP], keeps you from being able to practice your own religion?