O my people, remember now what Balak king of Moab consulted, and what Balaam the son of Beor answered him; remember from Shittim unto Gilgal, that ye may know the righteous acts of the LORD.
then Israel sent messengers unto the king of Edom, saying, Let me, I pray thee, pass through thy land: but the king of Edom hearkened not. And in like manner he sent unto the king of Moab: but he would not: and Israel abode in Kadesh.