Numbers 24:1

24:1 When Balaam saw that it pleased Yahweh to bless Israel, he didn't go, as at the other times, to meet with enchantments, but he set his face toward the wilderness.
-World English Bible

Other Translation

24:1 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.
-King James Version