Numbers 23
25 Ref Then Balak said to Balaam, If you will not put a curse on them, at all events do not give them a blessing.
26 Ref But Balaam in answer said to Balak, Did I not say to you, I may only do what the Lord says?
27 Ref Then Balak said to Balaam, Come now, I will take you to another place; it may be that God will let you put a curse on them from there.