1 Chronicles 24:5

5 So they were put into groups, by the Lord's decision, one with another; for there were rulers of the holy place and rulers of the house of God among the sons of Eleazar and the sons of Ithamar.

1 Chronicles 24:5 Meaning and Commentary

1 Chronicles 24:5

Thus were they divided by lot, one sort with another
Which course should serve first, and which next, and so on; and who should be the chief to each course; which course was to serve a week, and then go out; and this method was taken to prevent envy, strife, and contention about precedence:

for the governors of the sanctuary;
or of the holy things, or who presided in things ecclesiastical:

and governors of the house of God:
or rather "governors of God", appointed by him judges in civil things:

were of the sons of Eleazar, and of the sons of Ithamar:
there were, of both families, some employed both in sacred and civil things, and who presided in each.

1 Chronicles 24:5 In-Context

3 And David, with Zadok of the sons of Eleazar, and Ahimelech of the sons of Ithamar, made distribution of them into their positions for their work.
4 And there were more chiefs among the sons of Eleazar than among the sons of Ithamar; and this is how they were grouped: of the sons of Eleazar there were sixteen, all heads of families; and of the sons of Ithamar, heads of families, there were eight.
5 So they were put into groups, by the Lord's decision, one with another; for there were rulers of the holy place and rulers of the house of God among the sons of Eleazar and the sons of Ithamar.
6 And Shemaiah, the son of Nethanel the scribe, who was a Levite, put down their names in writing, the king being present with the rulers, and Zadok the priest, and Ahimelech, the son of Abiathar, and the heads of families of the priests and the Levites; one family being taken for Eleazar and then one for Ithamar, and so on.
7 Now the first name to come out was that of Jehoiarib; the second Jedaiah,
The Bible in Basic English is in the public domain.