All Israel was registered in the genealogies that are written about in the Book of the Kings of Israel. But Judah was exiled to Babylon because of their unfaithfulness.
The first to live in their towns on their own property again were Israelites, priests, Levites, and temple servants.
These people from the descendants of Judah, Benjamin, Ephraim, and Manasseh settled in Jerusalem:
Uthai son of Ammihud, son of Omri, son of Imri, son of Bani, a descendant of Perez son of Judah;
from the Shilonites: Asaiah the firstborn and his sons;
and from the sons of Zerah: Jeuel and 690 of their relatives.
The Benjaminites: Sallu son of Meshullam, son of Hodaviah, son of Hassenuah;
Ibneiah son of Jeroham; Elah son of Uzzi, son of Michri; Meshullam son of Shephatiah, son of Reuel, son of Ibnijah;
and 956 of their relatives according to their genealogical records. All these men were heads of their ancestral houses.
The priests: Jedaiah; Jehoiarib; Jachin;
Azariah son of Hilkiah, son of Meshullam, son of Zadok, son of Meraioth, son of Ahitub, the chief official of God's temple;
Adaiah son of Jeroham, son of Pashhur, son of Malchijah; Maasai son of Adiel, son of Jahzerah, son of Meshullam, son of Meshillemith, son of Immer;
and 1,760 of their relatives, the heads of households. They were capable men employed in the ministry of God's temple.
The Levites: Shemaiah son of Hasshub, son of Azrikam, son of Hashabiah of the Merarites;
Bakbakkar, Heresh, Galal, and Mattaniah, son of Mica, son of Zichri, son of Asaph;
Obadiah son of Shemaiah, son of Galal, son of Jeduthun; and Berechiah son of Asa, son of Elkanah who lived in the villages of the Netophathites.
The gatekeepers: Shallum, Akkub, Talmon, Ahiman, and their relatives. Shallum was their chief;
he was previously stationed at the King's Gate on the east side. These were the gatekeepers from the camp of the Levites.
Shallum son of Kore, son of Ebiasaph, son of Korah and his relatives from his household, the Korahites, were assigned to guard the thresholds of the tent. Their ancestors had been assigned to the Lord's camp as guardians of the entrance.
In earlier times Phinehas son of Eleazar had been their leader, and the Lord was with him.
Zechariah son of Meshelemiah was the gatekeeper at the entrance to the tent of meeting.
The total number of those chosen to be gatekeepers at the thresholds was 212. They were registered by genealogy in their villages. David and Samuel the seer had appointed them to their trusted positions.
So they and their sons were assigned to the gates of the Lord's house, the house of the tent.
The gatekeepers were on the four sides: east, west, north, and south.
Their relatives came from their villages at fixed times to be with them seven days,
but the four chief gatekeepers, who were Levites, were entrusted with the rooms and the treasuries of God's temple.
They spent the night in the vicinity of God's temple, because they had guard duty and were in charge of opening it every morning.
Some of them were in charge of the utensils used in worship. They would count them when they brought them in and when they took them out.
Others were put in charge of the furnishings and all the utensils of the sanctuary, as well as the fine flour, wine, oil, incense, and spices.
But some of the priests' sons mixed the spices.
A Levite called Mattithiah, the firstborn of Shallum the Korahite, was entrusted with baking the bread.
Some of the Kohathites' relatives were responsible for preparing the rows of the bread [of the Presence] every Sabbath.
The singers, the heads of Levite families, stayed in the [temple] chambers and were exempt from other tasks because they were on duty day and night.
These were the heads of Levite families, chiefs according to their genealogies, and lived in Jerusalem.
Jeiel fathered Gibeon and lived in Gibeon. His wife's name was Maacah.
Abdon was his firstborn son, then Zur, Kish, Baal, Ner, Nadab,
Gedor, Ahio, Zechariah, and Mikloth.
Mikloth fathered Shimeam. These also lived opposite their relatives in Jerusalem with their [other] relatives.
Ner fathered Kish, Kish fathered Saul, and Saul fathered Jonathan, Malchishua, Abinadab, and Esh-baal.
Jonathan's son was Merib-baal, and Merib-baal fathered Micah.
Micah's sons: Pithon, Melech, Tahrea, and Ahaz.
Ahaz fathered Jarah; Jarah fathered Alemeth, Azmaveth, and Zimri; Zimri fathered Moza.
Moza fathered Binea. His son was Rephaiah, his son Eleasah, and his son Azel.
Azel had six sons, and these were their names: Azrikam, Bocheru, Ishmael, Sheariah, Obadiah, and Hanan. These were Azel's sons.
The Philistines fought against Israel, and Israel's men fled from them and were killed on Mount Gilboa.
The Philistines pursued Saul and his sons and killed Saul's sons Jonathan, Abinadab, and Malchishua.
When the battle intensified against Saul, the archers found him and severely wounded him.
Then Saul said to his armor-bearer, "Draw your sword and run me through with it, or these uncircumcised men will come and torture me!" But his armor-bearer wouldn't do it because he was terrified. Then Saul took his sword and fell on it.
When his armor-bearer saw that Saul was dead, he also fell on his own sword and died.
So Saul and his three sons died-his whole house died together.
When all the men of Israel in the valley saw that the army had run away and that Saul and his sons were dead, they abandoned their cities and fled. So the Philistines came and settled in them.
The next day when the Philistines came to strip the slain, they found Saul and his sons dead on Mount Gilboa.
They stripped Saul, cut off his head, took his armor, and sent messengers throughout the land of the Philistines to spread the good news to their idols and their people.
Then they put his armor in the temple of their gods and hung his skull in the temple of Dagon.
When all Jabesh-gilead heard of everything the Philistines had done to Saul,
all their brave men set out and retrieved the body of Saul and the bodies of his sons and brought them to Jabesh. They buried their bones under the oak in Jabesh and fasted seven days.
Saul died for his unfaithfulness to the Lord because he did not keep the Lord's word. He even consulted a medium for guidance,
but he did not inquire of the Lord. So the Lord put him to death and turned the kingdom over to David son of Jesse.
All Israel came together to David at Hebron and said, "Here we are, your own flesh and blood.
Even when Saul was king, you led us out [to battle] and brought us back. The Lord your God also said to you, 'You will shepherd My people Israel and be ruler over My people Israel.' "
So all the elders of Israel came to the king at Hebron. David made a covenant with them at Hebron in the Lord's presence, and they anointed David king over Israel, in keeping with the Lord's word through Samuel.
David and all Israel marched to Jerusalem (that is, Jebus); the Jebusites who inhabited the land were there.
The inhabitants of Jebus said to David, "You will never get in here." Yet David did capture the stronghold of Zion (that is, the city of David).
David said, "Whoever is the first to kill a Jebusite will become commander-in-chief." Joab son of Zeruiah went up first, so he became the chief.
Then David took up residence in the stronghold; therefore, it was called the city of David.
He built up the city all the way around, from the supporting terraces to the surrounding parts, and Joab restored the rest of the city.
David steadily grew more powerful, and the Lord of Hosts was with him.
The following were the chiefs of David's warriors who, together with all Israel, strongly supported him in his reign to make him king according to the Lord's word about Israel.
This is the list of David's warriors: Jashobeam son of Hachmoni was chief of the Thirty; he wielded his spear against 300 and killed them at one time.
After him, Eleazar son of Dodo the Ahohite was one of the three warriors.
He was with David at Pas-dammim when the Philistines had gathered there for battle. A plot of ground full of barley was there, where the troops had fled from the Philistines.
But Eleazar and David took their stand in the middle of the plot and defended it. They killed the Philistines, and the Lord gave them a great victory.
Three of the 30 chief men went down to David, to the rock at the cave of Adullam, while the Philistine army was encamped in the Valley of Rephaim.
At that time David was in the stronghold, and a Philistine garrison was at Bethlehem.
David was extremely thirsty and said, "If only someone would bring me water from the well at the city gate of Bethlehem!"
So the Three broke through the Philistine camp and drew water from the well at the gate of Bethlehem. They brought it back to David, but he refused to drink it. Instead, he poured it out to the Lord.
David said, "I would never do such a thing in the presence of God! How can I drink the blood of these men who risked their lives?" For they brought it at the risk of their lives. So he would not drink it. Such were the exploits of the three warriors.
Abishai, Joab's brother, was the leader of the Three. He raised his spear against 300 [men] and killed them, gaining a reputation among the Three.
He was the most honored of the Three and became their commander even though he did not become one of the Three.
Benaiah son of Jehoiada was the son of a brave man from Kabzeel, a man of many exploits. Benaiah killed two [sons of] Ariel of Moab, and he went down into a pit on a snowy day and killed a lion.
He also killed an Egyptian who was seven and a half feet tall. Even though the Egyptian had a spear in his hand like a weaver's beam, Benaiah went down to him with a club, snatched the spear out of the Egyptian's hand, and then killed him with his own spear.
These were the exploits of Benaiah son of Jehoiada, who had a reputation among the three warriors.
He was the most honored of the Thirty, but he did not become one of the Three. David put him in charge of his bodyguard.
The fighting men were: Joab's brother Asahel, Elhanan son of Dodo of Bethlehem,
Shammoth the Harorite, Helez the Pelonite,
Ira son of Ikkesh the Tekoite, Abiezer the Anathothite,
Sibbecai the Hushathite, Ilai the Ahohite,
Maharai the Netophathite, Heled son of Baanah the Netophathite,
Ithai son of Ribai from Gibeah of the Benjaminites, Benaiah the Pirathonite,
Hurai from the wadis of Gaash, Abiel the Arbathite,
Azmaveth the Baharumite, Eliahba the Shaalbonite,
the sons of Hashem the Gizonite, Jonathan son of Shagee the Hararite,
Ahiam son of Sachar the Hararite, Eliphal son of Ur,
Hepher the Mecherathite, Ahijah the Pelonite,
Hezro the Carmelite, Naarai son of Ezbai,
Joel the brother of Nathan, Mibhar son of Hagri,
Zelek the Ammonite, Naharai the Beerothite, the armor-bearer for Joab son of Zeruiah,
Ira the Ithrite, Gareb the Ithrite,
Uriah the Hittite, Zabad son of Ahlai,
Adina son of Shiza the Reubenite, chief of the Reubenites, and 30 with him,
Hanan son of Maacah, Joshaphat the Mithnite,
Uzzia the Ashterathite, Shama and Jeiel the sons of Hotham the Aroerite,
Jediael son of Shimri and his brother Joha the Tizite,
Eliel the Mahavite, Jeribai and Joshaviah, the sons of Elnaam, Ithmah the Moabite,
Eliel, Obed, and Jaasiel the Mezobaite.