English Standard Version
But it was ordained by God that the downfall of Ahaziah should come about through his going to visit Joram. For when he came there, he went out with Jehoram to meet Jehu the son of Nimshi, whom the LORD had anointed to destroy the house of Ahab.New International Version
Through Ahaziah's 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.Catholic Public Domain Version
Indeed, it was the will of God against Ahaziah that he would go to Joram, and when he had gone, that he also would go out with him against Jehu, the son of Nimshi, whom the Lord had anointed to destroy the house of Ahab