Then the inhabitants of Jerusalem made Ahaziah, his youngest son, king in his place, because the troops that had come with the Arabs to the camp had killed all the older sons. So Ahaziah son of Jehoram became king of Judah.
References for 2 Chronicles 22:1
Ahaziah was 22 years old when he became king; he reigned one year in Jerusalem. His mother's name was Athaliah, granddaughter of Omri.
References for 2 Chronicles 22:2
He walked in the ways of the house of Ahab, for his mother gave him evil advice.
So he did what was evil in the Lord's sight like the house of Ahab, for they were his advisers after the death of his father, to his destruction.
He also followed their advice and went with Joram son of Israel's King Ahab to fight against Hazael, king of Aram, in Ramoth-gilead. The Arameans wounded Joram,
References for 2 Chronicles 22:5
so he returned to Jezreel to recover from the wounds they inflicted on him in Ramoth-gilead when he fought against Aram's King Hazael. Then Judah's King Ahaziah son of Jehoram went down to Jezreel to visit Joram son of Ahab since Joram was ill.
References for 2 Chronicles 22:6
With his going to Joram, Ahaziah's downfall was from God, for when Ahaziah went, he went out with Joram to meet Jehu son of Nimshi, whom the Lord had anointed to destroy the house of Ahab.
So it happened when Jehu executed judgment on the house of Ahab, he found the rulers of Judah and the sons of Ahaziah's brothers who were serving Ahaziah, and he killed them.
Then Jehu looked for Ahaziah, and Jehu's soldiers captured him (he was hiding in Samaria). Then they brought him to Jehu, and they killed him. They buried him, for they said, "He is the grandson of Jehoshaphat who sought the Lord with all his heart." So the house of Ahaziah had no one to exercise power over the kingdom.
References for 2 Chronicles 22:9
When Athaliah, Ahaziah's mother, saw that her son was dead, she proceeded to annihilate all the royal heirs of the house of Judah.
References for 2 Chronicles 22:10
Jehoshabeath, the king's daughter, rescued Joash son of Ahaziah from the king's sons who were being killed and put him and his nurse in a bedroom. Now Jehoshabeath was the daughter of King Jehoram and the wife of Jehoiada the priest. Since she was Ahaziah's sister, she hid Joash from Athaliah so that she did not kill him.
References for 2 Chronicles 22:11
While Athaliah ruled over the land, he was hiding with them in God's temple six years.
References for 2 Chronicles 22:12