1 Chronicles 23:4-6
23:4 David said, “Of these, 24,000 are to direct the work of the Lord’s temple; 6,000 are to be officials and judges;
23:5 4,000 are to be gatekeepers; and 4,000 are to praise the Lord with the instruments I supplied for worship.”
23:6 David divided them into groups corresponding to the sons of Levi: Gershon, Kohath, and Merari.