2 Chronicles 8:14

14 And he establisheth, according to the ordinance of David his father, the courses of the priests over their service, and of the Levites over their charges, to praise and to minister over-against the priests, according to the matter of a day in its day, and the gatekeepers in their courses at gate and gate, for so [is] the command of David the man of God.

2 Chronicles 8:14 Meaning and Commentary

2 Chronicles 8:14

And he appointed, according to the order of David his father,
the courses of the priests to their service
The twenty four courses which served weekly in their turns, ( 1 Chronicles 24:1-31 )

and the Levites to their charges, to praise and minister before the
priests, as duty of every day required;
who also had their courses by lot, to sing the praises of God, when the priests sacrificed, or blew the trumpets, ( 1 Chronicles 25:1-31 ) ,

the porters also by their courses at every gate;
from hence Dr. Lightfoot concludes that these were divided into twenty four classes, as the priests and Levite singers were:

for so had David the man of God commanded,
( 1 Chronicles 26:1-32 ) , who in all these affairs acted as a prophet, under the inspiration and direction of the Holy Spirit of God.

2 Chronicles 8:14 In-Context

12 Then hath Solomon caused to ascend burnt-offerings to Jehovah on the altar of Jehovah that he built before the porch,
13 even by the matter of a day in its day, to cause to ascend according to the command of Moses, on sabbaths, and on new moons, and on appointed seasons, three times in a year -- in the feast of unleavened things, and in the feast of weeks, and in the feast of booths.
14 And he establisheth, according to the ordinance of David his father, the courses of the priests over their service, and of the Levites over their charges, to praise and to minister over-against the priests, according to the matter of a day in its day, and the gatekeepers in their courses at gate and gate, for so [is] the command of David the man of God.
15 And they have not turned aside [from] the command of the king concerning the priests and the Levites, in reference to any matter, and to the treasures.
16 And all the work of Solomon is prepared till the day of the foundation of the house of Jehovah, and till its completion; perfect is the house of Jehovah.
Young's Literal Translation is in the public domain.