2 At the same time he brought together all the leaders of Israel, the priests, and the Levites. 3 The Levites thirty years and older were counted; the total was 38,000. 4 David sorted them into work groups: "24,000 are in charge of administering worship in the sanctuary; 6,000 are officials and judges 5 4,000 are security guards; and 4,000 are to serve in the orchestra, praising God with instruments that I have provided for praise." 6 David then divided the Levites into groupings named after the sons of Levi: Gershon, Kohath, and Merari.
Matthew Henry's Commentary on 1 Chronicles 23:2-6
Commentary on 1 Chronicles 23:1-23
(Read 1 Chronicles 23:1-23)
David, having given charge concerning the building of the temple, settles the method of the temple service, and orders the officers of it. When those of the same family were employed together, it would engage them to love and assist one another.