The Canaanite kings had served Chedorlaomer for twelve years, but rebelled in the thirteenth year. In the fourteenth year, Chedorlaomer and the Mesopotamian kings with him went on a military campaign and defeated several peoples in and around Canaan: the Rephaim, the Zuzim, the Emim, the Horites, the Amalekites, and the Amorites. Then the kings of Sodom, Gomorrah, Admah, Zeboiim, and Zoar engaged the four Mesopotamian kings in battle in the Valley of Siddim. The Mesopotamians routed the Canaanites, and the kings of Sodom and Gomorrah fled into bitumen pits in the valley, while the rest escaped to the hill country. The Mesopotamians seized all the wealth of Sodom and Gomorrah, as well as Lot and his possessions, and departed. A fugitive brought the news to Abram, who mustered his 318 retainers, and pursued the invaders north to Dan. Abram and his servants defeated them at night, chased them north of Damascus, and brought back all the people and possessions, including Lot and his possessions. When Abram returned, the king of Sodom came out to meet him in the Valley of Shaveh, the Valley of the King. King Melchizedek of Salem (Jerusalem), a priest of God Most High, brought out bread and wine and blessed Abram and God Most High, and he gave him a tenth of everything. The fourth reading (, "aliyah") ends here. In the fifth reading (, "aliyah"), the king of Sodom offered Abram to keep all the possessions if he would merely return the people, but Abram swore to God Most High not to take so much as a thread or a sandal strap from Sodom, but would take only shares for the men who went with him. A closed portion (, "setumah") ends here with the end of chapter   As the reading (, "aliyah") continues in chapter some time later, the word of God appeared to Abram, saying not to fear, for his reward would be very great, but Abram questioned what God could give him, as he was destined to die childless, and his steward Eliezer of Damascus would be his heir. The word of God replied that Eliezer would not be his heir, Abram's own son would. God took Abram outside and bade him to count the stars, for so numerous would his offspring be, and because Abram put his trust in God, God reckoned it to his merit.