5 do not contend with them; for I will not give you any of their land, no, not so much as for the sole of the foot to tread on, because I have given Mount Se'ir to Esau as a possession. 6 You shall purchase food from them for money, that you may eat; and you shall also buy water of them for money, that you may drink. 7 For the Lord your God has blessed you in all the work of your hands; he knows your going through this great wilderness; these forty years the Lord your God has been with you; you have lacked nothing.'

8 So we went on, away from our brethren the sons of Esau who live in Se'ir, away from the Arabah road from Elath and E'zion-ge'ber. "And we turned and went in the direction of the wilderness of Moab. 9 And the Lord said to me, 'Do not harass Moab or contend with them in battle, for I will not give you any of their land for a possession, because I have given Ar to the sons of Lot for 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.