God would permit the heathens to have no ground for exculpation, for saying in the future world, "Thou hadst kept us far from Thee." To them, as well as to Israel, he gave kings, sages, and prophets; but whereas the former showed themselves worthy of their high trust, the latter proved themselves unworthy of it. Both Solomon and Nebuchadnezzar were rulers over all the world: the former built the Temple and composed many hymns and prayers, the latter destroyed the Temple and cursed and blasphemed the Lord, saying, "I will ascend above the heights of the clouds; I will be like the Most High."
Both David and Haman received great treasures from God, but the former employed them to secure a site for God's sanctuary, whereas the latter with his tried to destroy the whole nation. Moses was Israel's prophet, and Balaam was prophet of the heathens: but how great a contrast between these two! Moses exhorted his people to keep from sin, whereas Balaam counseled the nations to give up their moral course of life and to become addicted to lewdness.
Balaam was also different from the Israelite prophet in his cruelty. They had such pity for the nations that misfortune among the heathens caused them suffering and sorrow, whereas Balaam was so cruel that he wanted to destroy an entire nation without any cause.