18 The priests were assigned to their divisions and the Levites to their groups [to lead] the worship of God in Jerusalem by following the directions written in the Book of Moses.