He too walked1 in the ways of the house of Ahab,2 for his mother encouraged him in doing wrong.
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.
He also followed their counsel when he went with Jorama son of Ahab king of Israel to war against Hazael king of Aram at Ramoth Gilead.3 The Arameans wounded Joram;
so he returned to Jezreel to recover from the wounds they had inflicted on him at Ramothb in his battle with Hazael4 king of Aram. Then Ahaziahc son of Jehoram king of Judah went down to Jezreel to see Joram son of Ahab because he had been wounded.
Through Ahaziah's5 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.
While Jehu was executing judgment on the house of Ahab,6 he found the princes of Judah and the sons of Ahaziah's relatives, who had been attending Ahaziah, and he killed them.
He then went in search of Ahaziah, and his men captured him while he was hiding7 in Samaria. He was brought to Jehu and put to death. They buried him, for they said, "He was a son of Jehoshaphat, who sought8 the LORD with all his heart." So there was no one in the house of Ahaziah powerful enough to retain the kingdom.
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.
But Jehosheba,d 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,e 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.
He remained hidden with them at the temple of God for six years while Athaliah ruled the land.