WEB
Now the destruction of Ahaziah was of God, in that he went to Joram: for when he had come, he went out with Jehoram against Jehu the son of Nimshi, whom Yahweh had anointed to cut off the house of Ahab.
YLT
and from God hath been the destruction of Ahaziah, to come unto Joram: and in his coming he hath gone out with Jehoram unto Jehu son of Nimshi, whom Jehovah anointed to cut off the house of Ahab.