“And he took up his parable, and said, Balaam the son of Beor hath said, and the man whose eyes are open hath said: he hath said, which heard the words of God, and knew the knowledge of the Most High, which saw the vision of the Almighty, falling into a trance, but having his eyes open: I shall see Him, but not now: I shall behold Him, but not nigh: there shall come a Star out of Jacob, and a Sceptre shall rise out of Israel, and shall smite the corners of Moab, and destroy all the children of Sheth. And Edom shall be a possession, Seir also shall be a possession for his enemies; and Israel shall do valiantly. Out of Jacob shall come He that shall have dominion, and shall destroy him that remaineth of the city.” Numbers 24:15-19 (KJV)
To me Balaam is a puzzle. He is a man of enchantments for foretelling the future, and evidently for pronouncing curses on whomever he will (Numbers 24:1). Yet in the above verses, and in others in the saga of Balaam, we see him as a man who appears concerned with saying what the LORD says.
If God could use a donkey to speak to Balaam (Numbers 22:22-41) I do not know why God could not use a lying prophet to speak His truth.
In the prophecy written above we see a prophecy of the coming Messiah of Israel. Balaam speaking of Jesus Christ coming. The prophecy is pointing mostly to the second coming of Christ, but Jesus was the fulfillment of “There shall come a Star out of Jacob”, and the rest of the prophecies as well.
He will come again and all who have opposed Him will be destroyed.