14 for Yahweh your God walks in the midst of your camp, to deliver you, and to give up your enemies before you; therefore your camp shall be holy, that he may not see an unclean thing in you, and turn away from you.

Matthew Henry's Commentary on Deuteronomy 23:14

Commentary on Deuteronomy 23:9-14

(Read Deuteronomy 23:9-14)

The camp of the Lord must have nothing offensive in it. If there must be this care taken to preserve the body clean, much more should we be careful to keep the mind pure.