1 Chronicles 23:3-5

23:3 The Levites who were thirty years old and up were counted; there were 38,000 men. 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.”