When
Athaliah attempted to destroy Judah's royal heirs, Jehosheba secretly took Joash and his nurse from among the princes facing death and hid them in a bedroom. Joash remained concealed in the house of the Lord for six years while Athaliah ruled. Jehosheba's marriage to Jehoiada is explicit in Chronicles.