Numbers 24:1

And when Balaam had seen that it was pleasing to the Lord that he should bless Israel, he by no means went out as he had gone before, to seek divination. But directing his face opposite the desert

Other versions

King James Version

And when Balaam saw that it pleased the LORD to bless Israel, he went not, as at other times, to seek for enchantments, but he set his face toward the wilderness.

English Standard Version

When Balaam saw that it pleased the LORD to bless Israel, he did not go, as at other times, to look for omens, but set his face toward the wilderness.

New International Version

Now when Balaam saw that it pleased the LORD to bless Israel, he did not resort to sorcery as at other times, but turned his face toward the desert.