Arcana Coelestia#8605
8605. 'Israel prevailed' means that the truth engaged in conflict would then be winning. This is clear from the meaning of 'prevailing' as winning; and from the representation of 'Israel' as those who belong to the spiritual Church, at this point those who are armed with truths and battle against falsities arising from interior evil, 8596.
Arcana Coelestia#8596
8596. 'Choose men for us' means that he should draw truths up in formation for battle. This is clear from the meaning of 'men' as truths, dealt with in 265, 749, 1007, 3134. Drawing those truths up for battle is meant by Joshua's having to choose the men, for when 'Joshua' represents God's truth that engages in conflict, 'the men' whom he chooses and links to himself mean truths that have been drawn up for battle.