Deuteronomy 2:8-15 - Journey Past Moab
8 And so we passed by our brothers, the descendants of Esau, who live in Seir, past the road of the Arabah, from Elath and Ezion Geber, and we turned and traveled along the route of the desert of Moab. 9 And Yahweh said to me, 'You shall not attack Moab, and you shall not engage in war with them, for I will not give you any of his land [as] a possession; I have given Ar to the descendants of Lot [as] a possession.'
10 (The Emim previously lived in it, a people large, numerous, and tall, like the Anakites. 11 They were reckoned also [as] Rephaim as the Anakites [were]; but the Moabites called them Emim. 12 The Horites previously lived in Seir, but the descendants of Esau dispossessed them and destroyed them {from among themselves}, as Israel did with respect to the land of their possession that Yahweh gave to them.)
13 So [now] arise and cross over the wadi of Zered yourselves; and [so] we crossed the wadi of Zered. 14 Now the {length of time} that we had traveled from Kadesh Barnea until [the time when] we crossed the wadi of Zered [was] thirty-eight years, until the perishing of all of that generation; [that is], the men of war from the midst of the camp as Yahweh had sworn to them. 15 The hand of Yahweh was against them to root them out from the midst of the camp until they perished completely.