Moses recalls that, at the Lord's command, Israel turned toward the wilderness by the way of the Red Sea and circled Mount Seir for many days. Then the Lord told them they had circled that mountain long enough and should head north.
Israel was to pass through the territory of the sons of Esau, who lived in Seir, without provoking them and without taking even a foot of their land, because the Lord had given it to Esau as a possession. They were to buy food and water from them with money. Moses recalls that in all those forty years the Lord had blessed them and they had lacked nothing. The same rule applied to Moab and then to Ammon, descendants of Lot, to whom the Lord had also given their land.
Moses reports that thirty-eight years passed from Kadesh-barnea until they crossed the brook Zered, until the whole generation of warriors had died, as the Lord had sworn. When they were gone, the Lord told Israel to cross the Arnon and begin taking the land. Moses sent messengers from the wilderness of Kedemoth to Sihon, king of Heshbon, with words of peace, asking only to pass along the road, but the king refused. The Lord had hardened his spirit in order to give him to Israel. At Jahaz he was defeated and Israel took his cities, but did not approach the land of the Ammonites, just as the Lord had commanded.