La royauté

Ahaziah destroys the royal line and Joash is hidden

When Athaliah learns that her son Ahaziah is dead, she destroys the entire royal family of Judah. But Jehosheba, the king's daughter and wife of the priest Jehoiada, saves the little Joash and hides him in God's house for six years while Athaliah reigns.

2 Chroniques 22,10-12

10When Athaliah, Ahaziah's mother, saw that her son was dead, she set about destroying the whole royal line of the house of Judah.
וַעֲתַלְיָ֙הוּ֙ אֵ֣ם אֲחַזְיָ֔הוּ רָאֲתָ֖ה כִּ֣י מֵ֣ת בְּנָ֑הּ וַתָּ֗קָם וַתְּדַבֵּ֛ר אֶת־כָּל־זֶ֥רַע הַמַּמְלָכָ֖ה לְבֵ֥ית יְהוּדָֽה׃ ‬
11But Jehoshabeath, the king's daughter, took Joash son of Ahaziah and stole him away from among the king's sons who were being put to death, and she put him and his nurse in a bedroom. So Jehoshabeath, daughter of King Jehoram and wife of Jehoiada the priest—she was Ahaziah's sister—hid him from Athaliah, and Athaliah did not put him to death.
וַתִּקַּח֩ יְהוֹשַׁבְעַ֨ת בַּת־הַמֶּ֜לֶךְ אֶת־יוֹאָ֣שׁ בֶּן־אֲחַזְיָ֗הוּ וַתִּגְנֹ֤ב אֹתוֹ֙ מִתּ֤וֹךְ בְּנֵֽי־הַמֶּ֙לֶךְ֙ הַמּ֣וּמָתִ֔ים וַתִּתֵּ֥ן אֹת֛וֹ וְאֶת־מֵֽינִקְתּ֖וֹ בַּחֲדַ֣ר הַמִּטּ֑וֹת וַתַּסְתִּירֵ֡הוּ יְהוֹשַׁבְעַ֣ת בַּת־הַמֶּ֣לֶךְ יְהוֹרָ֡ם אֵשֶׁת֩ יְהוֹיָדָ֨ע הַכֹּהֵ֜ן כִּ֣י הִיא֩ הָיְתָ֨ה אֲח֧וֹת אֲחַזְיָ֛הוּ מִפְּנֵ֥י עֲתַלְיָ֖הוּ וְלֹ֥א הֱמִיתָֽתְהוּ׃ ‬
12He remained hidden with them in the house of God for six years, while Athaliah ruled the land.
וַיְהִ֤י אִתָּם֙ בְּבֵ֣ית הָֽאֱלֹהִ֔ים מִתְחַבֵּ֖א שֵׁ֣שׁ שָׁנִ֖ים וַעֲתַלְיָ֖ה מֹלֶ֥כֶת עַל־הָאָֽרֶץ׃ פ ‬