“My people, remember now What Balak king of Moab counseled And what Balaam son of Beor answered him, And from Shittim to Gilgal, So that you might know the righteous acts of Yahweh.”
then Israel sent messengers to the king of Edom, saying, “Please let us pass through your land,” but the king of Edom would not listen. And they also sent to the king of Moab, but he was not willing. So Israel remained at Kadesh.