Ahaziah - king of Judah

King Ahaziah of Judah (who is also called “Jehoahaz” in some translations), was the nephew of King Ahaziah of Israel and the son of Jehoram, the evil son of the righteous king Jehoshaphat. Judah’s King Ahaziah was related to King Ahaziah of Israel through his mother, Athaliah, the daughter of Ahab and Jezebel. Ahaziah of Judah walked in the ways of his father, and because of this the Lord allowed him to reign less than one year in 841 BC. He was only 22 years old (2 Kings 8:26–27).

King Ahaziah immediately allied with his other uncle, King Joram, in a war against the king of Aram. King Joram was wounded and went to Jezreel to rest (2 Kings 8:28–29), and Ahaziah of Judah joined him there. During this time, a man named Jehu was anointed by the Lord as king of Israel with the command to destroy the house of Ahab (see 2 Kings 9:1–10). Jehu knew King Joram of Israel and King Ahaziah of Judah were in Jezreel, and so he rode to that city (verse 16). When King Joram and King Ahaziah went down to meet Jehu, Joram guessed Jehu’s plan and tried to flee (verse 23). Jehu, however, shot Joram with an arrow and killed him instantly (verse 24). Ahaziah tried to run as well, but Jehu’s company pursued him, mortally wounding him. Ahaziah made it to Megiddo but died there (verse 27). Jehu continued his campaign, killing Jezebel and eventually destroying all of Ahab’s family.

Not only are the stories of King Ahaziah of Israel and King Ahaziah of Judah a part of the history of the Jewish people, they are also a cautionary tale of the consequences of leading God’s people away from the Lord. Both the northern and southern kingdoms were eventually destroyed as a result of God’s judgment for their evil ways. While a remnant that spent 70 years in captivity was eventually able to return to Judah, the kingdom was never the same again.
Source: gotquestions.org