And they performed the service of their God and the service of purification, as did the singers and the gatekeepers, according to the command of David and his son Solomon.