And he appointed, according to the order of David his father, the divisions of the priests to their service, and the Levites to their charges, to praise and serve before the priests, as the duty of every day required: the gatekeepers also by their divisions at every gate: for so had David the man of God commanded.