He stayed with Jehosheba for six years. All during that time, he remained hidden in the temple, while Athaliah ruled Judah.