As the Israelites approached Canaan from the east, they asked the Amorite king Sihon if they could pass through his land, but he attacked them instead. The Israelites defeated him at Jahaz and captured all his land (Deuteronomy 2:24-37). After this they turned northward toward Bashan and defeated King Og at Edrei (Deuteronomy 3:1-11). Though the lands of Sihon and Og were not part of Canaan (which lay west of the Jordan River; see Numbers 34), the tribes of Reuben, Gad, and Manasseh requested that this land be allotted to them as their inheritance, and Moses agreed. The eastern tribes promised to continue helping the other tribes drive out the Canaanites from land west of the Jordan River (Numbers 32; Deuteronomy 3:12-20).