1 When David was an old man, he appointed his son Solomon to be king over Israel.
2 David summoned all the leaders of Israel, together with the priests and Levites.
3 All the Levites who were thirty years old or older were counted, and the total came to 38,000.
4 Then David said, “From all the Levites, 24,000 will supervise the work at the Temple of the lord. Another 6,000 will serve as officials and judges.
5 Another 4,000 will work as gatekeepers, and 4,000 will praise the lord with the musical instruments I have made.”