Through Ahaziah's1 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,2 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 hiding3 in Samaria. He was brought to Jehu and put to death. They buried him, for they said, "He was a son of Jehoshaphat, who sought4 the LORD with all his heart." So there was no one in the house of Ahaziah powerful enough to retain the kingdom.