2 Chronicles 8:14

Thomson(i) 14 And according to the regulation of his father David, he appointed the courses of the priests according to their services; and the Levites were set to their charges to sing praises and to minister before the priests, as the duty of every day required; and the keepers of the gates were distributed into their classes for every gate. For so David, the man of God had commanded.