וְחָצִ֙יתָ֙ אֶת־הַמַּלְק֔וֹחַ בֵּ֚ין תֹּפְשֵׂ֣י הַמִּלְחָמָ֔ה הַיֹּצְאִ֖ים לַצָּבָ֑א וּבֵ֖ין כָּל־הָעֵדָֽה׃
and divide the prey into two parts: between the men skilled in war, that went out to battle, and all the congregation;
Read kabbalistic (mystical) interpretation of Numbers 31:27: and classical mystical sources.