Numbers 23:20
See, I have received a command to bless; I cannot change it when he has blessed.
God is not a man that he should lie, nor a son of man that he should repent. Has he said he will do something and will not do it? Has he promised something and not fulfilled it?
Balaam then pronounced his oracle, “Be ready to hear, Balak; listen to me, son of Zippor.
He returned and found Balak posted beside his burnt offering with the leaders of Moab. Balak asked: “What did the Lord say?”
The Lord met Balaam, put words on his lips, and said: “Go back to Balak and give him this message.”
Balaam said to Balak: “Stay here beside your burnt offering while I go and meet the Lord over there.”
So he took him to the field of Zophim, to the top of Pisgah, built seven altars, and offered a bullock and a ram on each altar.
Second Oracle Balak told him: “Come with me to another place where you will see them. You will not see all of them, only the tail end, and there you shall curse them for me.”
Then Balak asked Balaam: “What have you done to me? I took you to curse my enemies, and you have blessed them.”