They carried out their service obligations to their God and their service obligations of purification according to what David and his son Solomon had commanded. 