Then Balaam arose and departed and returned to his place, and Balak also went on his way.
Therefore now flee to your place! I had intended to honor you greatly, but behold, the Lord has held you back from honor.”
And now, look, I am going to my people; come, I will advise you as to what this people [Israel] will do to your people [Moab] in the days to come.”
Israel settled and remained in Shittim, and the people began to play the prostitute with the women of Moab [by being unfaithful to God].
They killed the kings of Midian along with the rest of their slain: Evi and Rekem and Zur [the father of Cozbi] and Hur and Reba, the five kings of Midian; also Balaam the son of Beor they killed with the sword. [Num 22:31-35; Neh 13:1, 2]
The sons of Israel also killed Balaam the son of Beor, the diviner (soothsayer), with the sword among [the rest of] their slain. [Num 31:16]