2 Chronicles 22:12

12 He remained hidden with them at the temple of God for six years while Athaliah ruled the land.

Read 2 Chronicles 22:12 Using Other Translations

And he was with them hid in the house of God six years: and Athaliah reigned over the land.
And he remained with them six years, hidden in the house of God, while Athaliah reigned over the land.
Joash remained hidden in the Temple of God for six years while Athaliah ruled over the land.