And they assigned the priests in their divisions, and Levites in their groups, over the service of God that [is] in Jerusalem, as it is written in the Book of Moses.