 This was when they were in the valley to the east of the Jordan near Beth-peor in the country of Sihon king of the Amorites. He had ruled from Heshbon and had been defeated by Moses and the Israelites after they had left Egypt. 