"So those whom Yahweh chose"
Here "their" refers to the Israelite soldiers who were leaving the army.
Here the narrator starts to tell a new part of the story.