Deuteronomy 2:2-12

2 Then the Lord said to me:
3 "You have been skirting this hill country long enough. Head north,
4 and charge the people as follows: You are about to pass through the territory of your kindred, the descendants of Esau, who live in Seir. They will be afraid of you, so, be very careful
5 not to engage in battle with them, for I will not give you even so much as a foot's length of their land, since I have given Mount Seir to Esau as a possession.
6 You shall purchase food from them for money, so that you may eat; and you shall also buy water from them for money, so that you may drink.
7 Surely the Lord your God has blessed you in all your undertakings; 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 passed by our kin, the descendants of Esau who live in Seir, leaving behind the route of the Arabah, and leaving behind Elath and Ezion-geber. When we had headed out along the route of the wilderness of Moab,
9 the Lord said to me: "Do not harass Moab or engage them in battle, for I will not give you any of its land as a possession, since I have given Ar as a possession to the descendants of Lot."
10 (The Emim—a large and numerous people, as tall as the Anakim—had formerly inhabited it.
11 Like the Anakim, they are usually reckoned as Rephaim, though the Moabites call them Emim.
12 Moreover, the Horim had formerly inhabited Seir, but the descendants of Esau dispossessed them, destroying them and settling in their place, as Israel has done in the land that the Lord gave them as a possession.)
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.