Numbers 24:1

New International Version - UK Bible (NIVUK)
Now when Balaam saw that it pleased the Lord to bless Israel, he did not resort to divination as at other times, but turned his face towards the wilderness.

Read Numbers 24:1 in other translations