2 Chronicles 22:7

7But it was ordained by God that the downfall of Ahaziah should come about through his going to visit Joram. For when he came there, ahe went out with Jehoram to meet Jehu the son of Nimshi, bwhom the Lord had anointed to destroy the house of Ahab.
Copyright information for ESV