12 And in Seir dwelt the Horites in times past; and the children of Esau dispossessed them, and destroyed them from before them, and dwelt in their stead; as Israel did to the land of their possession, which Jehovah gave to them.) 13 Now rise up, and pass over the torrent Zered. And we passed over the torrent Zered. 14 Now the days in which we came from Kadesh-barnea, until we had come over the torrent Zered, were thirty-eight years; until the whole generation of the men of war was consumed from the midst of the camp, as Jehovah had sworn unto them. 15 Moreover the hand of Jehovah was against them to destroy them from the midst of the camp, until they were consumed. 16 And it came to pass when all the men of war were consumed, having died off from among the people, 17 that Jehovah spoke to me, saying, 18 Thou art to pass this day over the border of Moab, [which is] Ar, 19 and come near over against the children of Ammon; thou shalt not distress them nor attack them; for I will not give thee of the land of the children of Ammon a possession; for unto the children of Lot have I given it as a possession. 20 (That also is reckoned a land of giants: giants dwelt therein in time past, and the Ammonites call them Zamzummim; 21 a people great, and many, and tall as the Anakim; and Jehovah destroyed them before them, and they dispossessed them, and dwelt in their stead; 22 as he did to the children of Esau, who dwelt in Seir, from before whom he destroyed the Horites; and they dispossessed them, and dwelt in their stead, even to this day.

Matthew Henry's Commentary on Deuteronomy 2:12-22

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.