Then he searched for Ahaziah; and they caught him (he was hiding in Samaria), and brought him to Jehu. When they had killed him, they buried him, "because," they said, "he is the son of Jehoshaphat, who sought the LORD with all his heart." So the house of Ahaziah had no one to assume power over the kingdom.
2 Chronicles 22:9
Surrounding context
22:8 And it happened, when Jehu was executing judgment on the house of Ahab, and found the princes of Judah and the sons of Ahaziah's brothers who served Ahaziah, that he killed them.
22:9 Then he searched for Ahaziah; and they caught him (he was hiding in Samaria), and brought him to Jehu. When they had killed him, they buried him, "because," they said, "he is the son of Jehoshaphat, who sought the LORD with all his heart." So the house of Ahaziah had no one to assume power over the kingdom.
22:10 Now when Athaliah the mother of Ahaziah saw that her son was dead, she arose and destroyed all the royal heirs of the house of Judah.