Numbers 23:5

ESV
And the LORD put a word in Balaam's mouth and said, “Return to Balak, and thus you shall speak.”