Deuteronomy 23:8-18

8 The children of the third generation who are born to them shall enter into the assembly of Yahweh.
9 When you go forth in camp against your enemies, then you shall keep you from every evil thing.
10 If there be among you any man, who is not clean by reason of that which happens him by night, then shall he go abroad out of the camp, he shall not come within the camp:
11 but it shall be, when evening comes on, he shall bathe himself in water; and when the sun is down, he shall come within the camp.
12 You shall have a place also outside of the camp, where you shall go forth abroad:
13 and you shall have a paddle among your weapons; and it shall be, when you sit down abroad, you shall dig therewith, and shall turn back and cover that which comes from you:
14 for Yahweh your God walks in the midst of your camp, to deliver you, and to give up your enemies before you; therefore shall your camp be holy, that he may not see an unclean thing in you, and turn away from you
15 You shall not deliver to his master a servant who is escaped from his master to you:
16 he shall dwell with you, in the midst of you, in the place which he shall choose within one of your gates, where it pleases him best: you shall not oppress him.
17 There shall be no prostitute of the daughters of Israel, neither shall there be a sodomite of the sons of Israel.
18 You shall not bring the hire of a prostitute, or the wages of a dog, into the house of Yahweh your God for any vow: for even both these are an abomination to Yahweh your God.
The World English Bible is in the public domain.