When David was very old, he made his son Solomon king of Israel.
2King David brought together all the Israelite leaders and all the priests and Levites. 3He took a census of all the male Levites aged thirty or older. The total was 38,000. 4The king assigned 24,000 to administer the work of the Temple, 6,000 to keep records and decide disputes, 54,000 to do guard duty, and 4,000 to praise the LORD, using the musical instruments provided by the king for this purpose.
6David divided the Levites into three groups, according to their clans: Gershon, Kohath, and Merari.
7Gershon had two sons: Ladan and Shimei. 8Ladan had three sons: Jehiel, Zetham, and Joel, 9who were the heads of the clans descended from Ladan. (Shimei had three sons: Shelomoth, Haziel, and Haran.)23.9 Shimei… Haran: The relation of this list to the list of Shimei's sons in verse 10 is not clear. 10-11Shimei had four sons: Jahath, Zina, Jeush, and Beriah, in order of age. Jeush and Beriah did not have many descendants, so they were counted as one clan.
12Kohath had four sons: Amram, Izhar, Hebron, and Uzziel. 13
His eldest son, Amram, was the father of Aaron and Moses. (Aaron and his descendants were set apart to be in charge of the sacred objects for ever, to burn incense in the worship of the LORD, to serve him, and to bless the people in his name. 14But the sons of Moses, the man of God, were included among the Levites.) 15Moses had two sons, Gershom and Eliezer. 16The leader among Gershom's sons was Shebuel. 17Eliezer had only one son, Rehabiah, but Rehabiah had many descendants.
18Kohath's second son, Izhar, had a son, Shelomith, the head of the clan. 19Kohath's third son, Hebron, had four sons: Jeriah, Amariah, Jahaziel, and Jekameam. 20Kohath's fourth son, Uzziel, had two sons, Micah and Isshiah.
21Merari had two sons, Mahli and Mushi. Mahli also had two sons, Eleazar and Kish, 22but Eleazar died without having any sons, only daughters. His daughters married their cousins, the sons of Kish. 23Merari's second son, Mushi, had three sons: Mahli, Eder, and Jeremoth.
24These were the descendants of Levi, by clans and families, every one of them registered by name. Each of his descendants, twenty years of age or older, had a share in the work of the LORD's Temple.
25David said, “The LORD God of Israel has given peace to his people, and he himself will live in Jerusalem for ever. 26
So there is no longer any need for the Levites to carry the Tent of the LORD's presence and all the equipment used in worship.” 27On the basis of David's final instructions all Levites were registered for service when they reached the age of twenty, 28
and were assigned the following duties: to help the priests descended from Aaron with the temple worship, to take care of its courtyards and its rooms, and to keep undefiled everything that is sacred; 29to be responsible for the bread offered to God, the flour used in offerings, the wafers made without yeast, the baked offerings, and the flour mixed with olive oil; to weigh and measure the temple offerings; 30and to praise and glorify the LORD every morning and every evening 31and whenever offerings to the LORD are burnt on the Sabbath, the New Moon Festival, and other festivals. Rules were made specifying the number of Levites assigned to do this work each time. The Levites were assigned the duty of worshipping the LORD for all time. 32They were given the responsibility of taking care of the Tent of the LORD's presence and the Temple, and of assisting their relatives, the priests descended from Aaron, in the temple worship.