he was with them hid in the house of God - Certain persons connected with the priesthood had a right to occupy the buildings in the outer wall, and all within the outer wall was often called the temple. Jehoiada and his family resided in one of these apartments.