45 It was after they had come out of Egypt and were in the valley east of the Jordan River, opposite the town of Bethpeor, that he gave them these laws. This was in the territory that had belonged to King Sihon of the Amorites, who had ruled in the town of Heshbon. Moses and the people of Israel defeated him when they came out of Egypt.