(22:7) The elders of Moab and Midian went to Balaam with magical devices in hand, conveying to him Balak's message, asking him to come and curse the Jews.
The elders of Moab and Midian Midian and Moab had never been at peace with each other. Why then did they suddenly unite? This can be explained by a parable of two watchdogs that were with a flock of sheep, and the dogs were fiercely hostile to each other. When one day a wolf attacked one of the dogs, the other said: If I don't help my fellow, today the wolf will kill him, and tomorrow he will come and attack me. So the two of them went and killed the wolf. Said R. Papa: This is the meaning of the popular adage: The weasel and the cat, which are natural enemies, made a feast from the fat of an unlucky victim. Similarly, Moab and Midian set aside their long-standing hostility to make common cause against their mutual enemy, the Jews (Sanhedrin 105a).
(22:8) “Spend the night here, ” Balaam replied to Balak's emissaries, “and when God speaks to me, I will be able to give you an answer.” The Moabite dignitaries remained with Balaam.