King James Version
And he sought Ahaziah: and they caught him, (for he was hid in Samaria,) and brought him to Jehu: and when they had slain him, they buried him: Because, said they, he is the son of Jehoshaphat, who sought the LORD with all his heart. So the house of Ahaziah had no power to keep still the kingdom.English Standard Version
He searched for Ahaziah, and he was captured while hiding in Samaria, and he was brought to Jehu and put to death. They buried him, for they said, "He is the grandson of Jehoshaphat, who sought the LORD with all his heart." And the house of Ahaziah had no one able to rule the kingdom.Catholic Public Domain Version
Also, while he himself was seeking Ahaziah, he found him to be hiding in Samaria. And having been led to him, he killed him. And they buried him, because he was the son of Jehoshaphat, who had sought the Lord with all his heart. But there was no longer any hope that someone from the stock of Ahaziah would reign