[And Balaam] This history is added to the slaughter of the five magnates, just as it is also in Numbers 31:8; otherwise little pertain to the purpose here. But, as the benefits of God toward the pious are never sufficiently commemorated, so also God’s just and severe judgments against the impious; so that some might be incited to virtue, and others be deterred from vices. It is certain that Moses proceeded from the waging of those wars to this distribution that we now handle (Masius). [What things Masius has here concerning Balaam, see in our Notes on Numbers 24; 31.]
The soothsayer; so he was in truth, though a prophet (2 Peter 2:16) in title and profession.
[With the rest slain, אֶל־חַלְלֵיהֶם] To (or upon [Jonathan]) the slain of them (Montanus, similarly Junius and Tremellius); with the slain, etc. (Munster, Pagnine, Tigurinus), that is, together with others slaughtered by them (Vatablus). Here אֶל/to means עִם/with, in the place of which it is עַל/upon in Numbers 31:8, as it is here in the Targum (Drusius).
Among them that were slain by them: See Numbers 24:25.
 Hebrew: וְאֶת־בִּלְעָ֥ם בֶּן־בְּע֖וֹר הַקּוֹסֵ֑ם הָרְג֧וּ בְנֵֽי־יִשְׂרָאֵ֛ל בַּחֶ֖רֶב אֶל־חַלְלֵיהֶֽם׃
 Hebrew: הַקּוֹסֵם.
 Numbers 31:8: “And they slew the kings of Midian, beside the rest of them that were slain (עַל־חַלְלֵיהֶם); namely, Evi, and Rekem, and Zur, and Hur, and Reba, five kings of Midian: Balaam also the son of Beor they slew with the sword.”