5 attack them not; for I will not give you of their land, no, not so much as a foot-breadth; for I have given mount Seir as a possession unto Esau. 6 Ye shall buy of them food for money, that ye may eat; and water shall ye also buy of them for money, that ye may drink; 7 for Jehovah thy God hath blessed thee in all the work of thy hand. He hath known thy walking through this great wilderness: these forty years hath Jehovah thy God been with thee; thou hast lacked nothing.

8 And we passed by from our brethren the children of Esau, who dwelt in Seir, by the plain, by Elath, and by Ezion-geber, and we turned and passed by the way of the wilderness of Moab. 9 And Jehovah said to me, Distress not the Moabites, neither engage with them in battle; for I will not give thee of their land a possession; for unto the children of Lot have I given Ar as a possession.

Matthew Henry's Commentary on Deuteronomy 2:5-9

Commentary on Deuteronomy 2:1-7

(Read Deuteronomy 2:1-7)

Only a short account of the long stay of Israel in the wilderness is given. God not only chastised them for their murmuring and unbelief, but prepared them for Canaan; by humbling them for sin, teaching them to mortify their lusts, to follow God, and to comfort themselves in him. Though Israel may be long kept waiting for deliverance and enlargement, it will come at last. Before God brought Israel to destroy their enemies in Canaan, he taught them to forgive their enemies in Edom. They must not, under pretence of God's covenant and conduct, think to seize all they could lay hands on. Dominion is not founded in grace. God's Israel shall be well placed, but must not expect to be placed alone in the midst of the earth. Religion must never be made a cloak for injustice. Scorn to be beholden to Edomites, when thou hast an all-sufficient God to depend upon. Use what thou hast, use it cheerfully. Thou hast experienced the care of the Divine providence, never use any crooked methods for thy supply. All this is equally to be applied to the experience of the believer.

Commentary on Deuteronomy 2:8-23

(Read Deuteronomy 2:8-23)

We have the origin of the Moabites, Edomites, and Ammonites. Moses also gives an instance older than any of these; the Caphtorims drove the Avims out of their country. These revolutions show what uncertain things wordly possessions are. It was so of old, and ever will be so. Families decline, and from them estates are transferred to families that increase; so little continuance is there in these things. This is recorded to encourage the children of Israel. If the providence of God has done this for Moabites and Ammonites, much more would his promise do it for Israel, his peculiar people. Cautions are given not to meddle with Moabites and Ammonites. Even wicked men must not be wronged. God gives and preserves outward blessings to wicked men; these are not the best things, he has better in store for his own children.