1 Chronicles 23-25 (ESV)
David Organizes the Levites
23:1 When David was old and full of days, he made Solomon his son king over Israel.
2 David  assembled all the leaders of Israel and the priests and the Levites. 3 The Levites, thirty years old and upward, were numbered, and the total was 38,000 men. 4 “Twenty-four thousand of these,” David said,  “shall have charge of the work in the house of theLord, 6,000 shall be officers and judges, 5 4,000 gatekeepers, and 4,000 shall offer praises to the Lord with the instruments that I have made for praise.” 6 And David organized them in divisions corresponding to the sons of Levi: Gershon, Kohath, and Merari.
7 The sons of Gershon  were Ladan and Shimei. 8 The sons of Ladan: Jehiel the chief, and Zetham, and Joel, three. 9 The sons of Shimei: Shelomoth, Haziel, and Haran, three. These were the heads of the fathers’ houses of Ladan. 10 And the sons of Shimei: Jahath, Zina, and Jeush and Beriah. These four were the sons of Shimei. 11 Jahath was the chief, and Zizah the second; but Jeush and Beriah did not have many sons, therefore they became counted as a single father’s house.
12 The sons of Kohath: Amram, Izhar, Hebron, and Uzziel, four. 13 The sons of Amram: Aaron and Moses. Aaron was set apart to dedicate the most holy things, that he and his sons forever should make offerings before the Lord and minister to him and pronounce blessings in his name forever. 14 But the sons of Moses the man of God were named among the tribe of Levi. 15 The sons of Moses: Gershom and Eliezer.16 The sons of Gershom: Shebuel the chief. 17 The sons of Eliezer: Rehabiah the chief. Eliezer had no other sons, but the sons of Rehabiah were very many. 18 The sons of Izhar: Shelomith the chief. 19 The sons of Hebron: Jeriah the chief, Amariah the second, Jahaziel the third, and Jekameam the fourth. 20 The sons of Uzziel: Micah the chief and Isshiah the second.
21 The sons of Merari: Mahli and Mushi. The sons of Mahli: Eleazar and Kish. 22 Eleazar died having no sons, but only daughters; their kinsmen, the sons of Kish, married them. 23 The sons of Mushi: Mahli, Eder, and Jeremoth, three.
24 These were the sons of Levi by their fathers’ houses, the heads of fathers’ houses as they were listed according to the number of the names of the individuals from twenty years old and upward who were to do the work for the service of the house of the Lord. 25 For David said, “The Lord, the God of Israel, has given rest to his people, and he dwells in Jerusalem forever. 26 And so the Levites no longer need to carry the tabernacle or any of the things for its service.” 27 For by the last words of David the sons of Levi were numbered from twenty years old and upward. 28 For their duty was to assist the sons of Aaron for the service of the house of the Lord, having the care of the courts and the chambers, the cleansing of all that is holy, and any work for the service of the house of God. 29 Their duty was also to assist with the showbread, the flour for the grain offering, the wafers of unleavened bread, the baked offering, the offering mixed with oil, and all measures of quantity or size. 30 And they were to stand every morning, thanking and praising the Lord, and likewise at evening, 31 and whenever burnt offerings were offered to the Lord on Sabbaths, new moons, and feast days, according to the number required of them, regularly before theLord. 32 Thus they were to keep charge of the tent of meeting and the sanctuary, and to attend the sons of Aaron, their brothers, for the service of the house of the Lord.
David Organizes the Priests
24:1 The divisions of the sons of Aaron were these. The sons of Aaron: Nadab, Abihu, Eleazar, and Ithamar. 2 But Nadab and Abihu died before their father and had no children, so Eleazar and Ithamar became the priests. 3 With the help of Zadok of the sons of Eleazar, and Ahimelech of the sons of Ithamar, David organized them according to the appointed duties in their service. 4 Since more chief men were found among the sons of Eleazar than among the sons of Ithamar, they organized them under sixteen heads of fathers’ houses of the sons of Eleazar, and eight of the sons of Ithamar. 5 They divided them by lot, all alike, for there were sacred officers and officers of God among both the sons of Eleazar and the sons of Ithamar. 6 And the scribe Shemaiah, the son of Nethanel, a Levite, recorded them in the presence of the king and the princes and Zadok the priest and Ahimelech the son of Abiathar and the heads of the fathers’ houses of the priests and of the Levites, one father’s house being chosen for Eleazar and one chosen for Ithamar.
7 The first lot fell to Jehoiarib, the second to Jedaiah, 8 the third to Harim, the fourth to Seorim, 9 the fifth to Malchijah, the sixth to Mijamin, 10 the seventh to Hakkoz, the eighth to Abijah, 11 the ninth to Jeshua, the tenth to Shecaniah, 12 the eleventh to Eliashib, the twelfth to Jakim, 13 the thirteenth to Huppah, the fourteenth to Jeshebeab, 14 the fifteenth to Bilgah, the sixteenth to Immer, 15 the seventeenth to Hezir, the eighteenth to Happizzez, 16 the nineteenth to Pethahiah, the twentieth to Jehezkel, 17 the twenty-first to Jachin, the twenty-second to Gamul, 18 the twenty-third to Delaiah, the twenty-fourth to Maaziah. 19 These had as their appointed duty in their service to come into the house of the Lord according to the procedure established for them by Aaron their father, as the Lord God of Israel had commanded him.
20 And of the rest of the sons of Levi: of the sons of Amram, Shubael; of the sons of Shubael, Jehdeiah. 21 Of Rehabiah: of the sons of Rehabiah, Isshiah the chief. 22 Of the Izharites, Shelomoth; of the sons of Shelomoth, Jahath. 23 The sons of Hebron:  Jeriah the chief, Amariah the second, Jahaziel the third, Jekameam the fourth. 24 The sons of Uzziel, Micah; of the sons of Micah, Shamir. 25 The brother of Micah, Isshiah; of the sons of Isshiah, Zechariah. 26 The sons of Merari: Mahli and Mushi. The sons of Jaaziah: Beno.  27 The sons of Merari: of Jaaziah, Beno, Shoham, Zaccur, and Ibri. 28 Of Mahli: Eleazar, who had no sons. 29 Of Kish, the sons of Kish: Jerahmeel. 30 The sons of Mushi: Mahli, Eder, and Jerimoth. These were the sons of the Levites according to their fathers’ houses. 31 These also, the head of each father’s house and his younger brother alike, cast lots, just as their brothers the sons of Aaron, in the presence of King David, Zadok, Ahimelech, and the heads of fathers’ houses of the priests and of the Levites.
David Organizes the Musicians
25:1 David and the chiefs of the service also set apart for the service the sons of Asaph, and of Heman, and of Jeduthun, who prophesied with lyres, with harps, and with cymbals. The list of those who did the work and of their duties was: 2 Of the sons of Asaph: Zaccur, Joseph, Nethaniah, and Asharelah, sons of Asaph, under the direction of Asaph, who prophesied under the direction of the king. 3 Of Jeduthun, the sons of Jeduthun: Gedaliah, Zeri, Jeshaiah, Shimei,  Hashabiah, and Mattithiah, six, under the direction of their father Jeduthun, who prophesied with the lyre in thanksgiving and praise to the Lord. 4 Of Heman, the sons of Heman: Bukkiah, Mattaniah, Uzziel, Shebuel and Jerimoth, Hananiah, Hanani, Eliathah, Giddalti, and Romamti-ezer, Joshbekashah, Mallothi, Hothir, Mahazioth. 5 All these were the sons of Heman the king’s seer, according to the promise of God to exalt him, for God had given Heman fourteen sons and three daughters. 6 They were all under the direction of their father in the music in the house of the Lord with cymbals, harps, and lyres for the service of the house of God. Asaph, Jeduthun, and Heman were under the order of the king. 7 The number of them along with their brothers, who were trained in singing to theLord, all who were skillful, was 288. 8 And they cast lots for their duties, small and great, teacher and pupil alike.
9 The first lot fell for Asaph to Joseph; the second to Gedaliah, to him and his brothers and his sons, twelve; 10 the third to Zaccur, his sons and his brothers, twelve; 11 the fourth to Izri, his sons and his brothers, twelve; 12 the fifth to Nethaniah, his sons and his brothers, twelve; 13 the sixth to Bukkiah, his sons and his brothers, twelve; 14 the seventh to Jesharelah, his sons and his brothers, twelve; 15 the eighth to Jeshaiah, his sons and his brothers, twelve; 16 the ninth to Mattaniah, his sons and his brothers, twelve; 17 the tenth to Shimei, his sons and his brothers, twelve; 18 the eleventh to Azarel, his sons and his brothers, twelve; 19 the twelfth to Hashabiah, his sons and his brothers, twelve; 20 to the thirteenth, Shubael, his sons and his brothers, twelve; 21 to the fourteenth, Mattithiah, his sons and his brothers, twelve; 22 to the fifteenth, to Jeremoth, his sons and his brothers, twelve; 23 to the sixteenth, to Hananiah, his sons and his brothers, twelve;24 to the seventeenth, to Joshbekashah, his sons and his brothers, twelve; 25 to the eighteenth, to Hanani, his sons and his brothers, twelve;26 to the nineteenth, to Mallothi, his sons and his brothers, twelve; 27 to the twentieth, to Eliathah, his sons and his brothers, twelve; 28 to the twenty-first, to Hothir, his sons and his brothers, twelve; 29 to the twenty-second, to Giddalti, his sons and his brothers, twelve; 30 to the twenty-third, to Mahazioth, his sons and his brothers, twelve; 31 to the twenty-fourth, to Romamti-ezer, his sons and his brothers, twelve.