he said to them, “You must be sure to pay attention to all the commands I tell you today. And you must tell your children to obey completely the commands in this Law.
Then Moses wrote this Book of Teachings and gave it to the priests, who are from the tribe of Levi. They have the work of carrying the Lord’s Box of the Agreement. Moses also gave it to all the elders of Israel.
This was after he defeated Sihon and Og. (Sihon was the king of the Amorites and lived in Heshbon. Og was the king of Bashan and lived in Ashtaroth and Edrei.)
He gave them these laws while they were on the east side of the Jordan River, in the valley across from Beth Peor. They were in the land of Sihon, the Amorite king who lived at Heshbon. Moses and the Israelites had defeated Sihon when they came out of Egypt.