Deuteronomy 23:9 (KJV)

¶ When the host goeth forth against thine enemies, then keep thee from every wicked thing.