When thou goest forth to war against thy enemies, and the Lord thy God delivereth them into thy hands, and thou takest captives of them;