God tells Balaam not to curse the Israelites
Balak’s messengers came to Balaam in Pethor. God told Balaam not to curse the Israelites, and Balaam sent the messengers back to Balak.
Key passages
Nu 22:7–14

So the elders of Moab and the elders of Midian went with a fee for divination in their hand; they came to Balaam and spoke the words of Balak to him. He said to them, “Spend the night here, and I will return, and I will return word to you, just as Yahweh speaks to me.” So the princes of Moab stayed …

See also