Numbers 24:25

And Balaam rose up, and went and returned to his place: and Balak also went his way.

And Balaam rose up, and went and returned to his place,.... The country from whence he came, that is, he went from Balak, according to his command, in order to return to his own land; for he seems not to have reached it, but stayed by the way among the Moabites and Midianites, and was slain in a battle between Israel and them,

Numbers 31:8, or if he did reach Mesopotamia, he returned again, as Chaskuni says; and either before he left Balak, or in his journey homewards, or when he returned, he gave that advice, to seduce the Israelites first to whoredom, and by that to idolatry, the effects of which are observed in the following chapter, see Gill "Numbers 24:14" and Balak also went his way; to his royal city, court, and family, attended, very probably, by the princes of Moab, who had been with him all this while; though how long these things were transacting is not certain.