Joash remained hidden in the Temple of God for six years while Athaliah ruled over the land.