They performed the service of their God and the service of purification, as commanded by David and his son Solomon, and so did the singers and the gatekeepers.