2 Chronicles 22 New Revised Standard Version, Anglicised (NRSVA)
22 The inhabitants of Jerusalem made his youngest son Ahaziah king as his successor; for the troops who came with the Arabs to the camp had killed all the older sons. So Ahaziah son of Jehoram reigned as king of Judah. 2 Ahaziah was forty-two years old when he began to reign; he reigned for one year in Jerusalem. His mother’s name was Athaliah, a granddaughter of Omri. 3 He also walked in the ways of the house of Ahab, for his mother was his counsellor in doing wickedly. 4 He did what was evil in the sight of the Lord, as the house of Ahab had done; for after the death of his father they were his counsellors, to his ruin. 5 He even followed their advice, and went with Jehoram son of King Ahab of Israel to make war against King Hazael of Aram at Ramoth-gilead. The Arameans wounded Joram, 6 and he returned to be healed in Jezreel of the wounds that he had received at Ramah, when he fought King Hazael of Aram. And Ahaziah son of King Jehoram of Judah went down to see Joram son of Ahab in Jezreel, because he was sick.
7 But it was ordained by God that the downfall of Ahaziah should come about through his going to visit Joram. For when he came there he went out with Jehoram to meet Jehu son of Nimshi, whom the Lord had anointed to destroy the house of Ahab. 8 When Jehu was executing judgement on the house of Ahab, he met the officials of Judah and the sons of Ahaziah’s brothers, who attended Ahaziah, and he killed them. 9 He searched for Ahaziah, who was captured while hiding in Samaria and was brought to Jehu, and put to death. They buried him, for they said, ‘He is the grandson of Jehoshaphat, who sought the Lord with all his heart.’ And the house of Ahaziah had no one able to rule the kingdom.
Athaliah Seizes the Throne
10 Now when Athaliah, Ahaziah’s mother, saw that her son was dead, she set about to destroy all the royal family of the house of Judah. 11 But Jehoshabeath, the king’s daughter, took Joash son of Ahaziah, and stole him away from among the king’s children who were about to be killed; she put him and his nurse in a bedroom. Thus Jehoshabeath, daughter of King Jehoram and wife of the priest Jehoiada—because she was a sister of Ahaziah—hid him from Athaliah, so that she did not kill him; 12 he remained with them for six years, hidden in the house of God, while Athaliah reigned over the land.
2 Chronicles 22 New International Version (NIV)
Ahaziah King of Judah
22 The people of Jerusalem made Ahaziah, Jehoram’s youngest son, king in his place, since the raiders, who came with the Arabs into the camp, had killed all the older sons. So Ahaziah son of Jehoram king of Judah began to reign.
2 Ahaziah was twenty-two[a] years old when he became king, and he reigned in Jerusalem one year. His mother’s name was Athaliah, a granddaughter of Omri.
3 He too followed the ways of the house of Ahab, for his mother encouraged him to act wickedly. 4 He did evil in the eyes of the Lord, as the house of Ahab had done, for after his father’s death they became his advisers, to his undoing. 5 He also followed their counsel when he went with Joram[b] son of Ahab king of Israel to wage war against Hazael king of Aram at Ramoth Gilead. The Arameans wounded Joram; 6 so he returned to Jezreel to recover from the wounds they had inflicted on him at Ramoth[c] in his battle with Hazael king of Aram.
Then Ahaziah[d] son of Jehoram king of Judah went down to Jezreel to see Joram son of Ahab because he had been wounded.
7 Through Ahaziah’s visit to Joram, God brought about Ahaziah’s downfall. When Ahaziah arrived, he went out with Joram to meet Jehu son of Nimshi, whom the Lord had anointed to destroy the house of Ahab. 8 While Jehu was executing judgment on the house of Ahab, he found the officials of Judah and the sons of Ahaziah’s relatives, who had been attending Ahaziah, and he killed them. 9 He then went in search of Ahaziah, and his men captured him while he was hiding in Samaria. He was brought to Jehu and put to death. They buried him, for they said, “He was a son of Jehoshaphat, who sought the Lord with all his heart.” So there was no one in the house of Ahaziah powerful enough to retain the kingdom.
Athaliah and Joash
10 When Athaliah the mother of Ahaziah saw that her son was dead, she proceeded to destroy the whole royal family of the house of Judah. 11 But Jehosheba,[e] the daughter of King Jehoram, took Joash son of Ahaziah and stole him away from among the royal princes who were about to be murdered and put him and his nurse in a bedroom. Because Jehosheba,[f] the daughter of King Jehoram and wife of the priest Jehoiada, was Ahaziah’s sister, she hid the child from Athaliah so she could not kill him. 12 He remained hidden with them at the temple of God for six years while Athaliah ruled the land.