Deuteronomy 1:3-5

3 Now in the fortieth year, on the first day of the eleventh month, Moses gave to the children of Israel all the orders which the Lord had given him for them;

4 After he had overcome Sihon, king of the Amorites, ruling in Heshbon, and Og, king of Bashan, ruling in Ashtaroth, at Edrei:

5 On the far side of Jordan in the land of Moab, Moses gave the people this law, saying,