Numbers 24:13
If Balak would give me his house full of silver and gold, I cannot go beyond the commandment of the LORD, to do either good or bad of mine own mind; but what the LORD saith, that will I speak?
More from Numbers 24
And when Balaam saw that it pleased the LORD to bless Israel, he went not, as at other times, to seek for enchantments, but he set his face toward the wilderness.
And Balaam lifted up his eyes, and he saw Israel abiding in his tents according to their tribes; and the spirit of God
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, which saw the vision of the Almighty, falling into a trance, but having his eyes open:
How goodly are thy tents, O Jacob, and thy tabernacles, O Israel!