Numbers 24:10-13

ISV(i) 10 Balak flew into a rage and he started hitting his fists together. “I called you to curse my enemies,” he yelled at Balaam. “But look here! You’ve blessed them three times! 11 Now get out of here! I had promised you that I would definitely honor you, but now the LORD has kept me from doing that!”
12 But Balaam replied to Balak, “I told your messengers, 13 ‘Even if Balak gives me his palace full of silver and gold, I won’t double-cross the command of the LORD and do anything—whether good or evil—on my own initiative, because I’m going to say whatever the LORD says.’