Now according to the ordinance of his father David, he appointed the divisions of the priests for their service, and the Levites for their duties of praise and ministering before the priests according to the daily rule, and the gatekeepers by their divisions at every gate; for David the man of God had so commanded.