The destruction of Ahaziah was of God - i. e. his untimely end was a judgment upon him for his idolatry.
Related Commentaries of 2 Chronicles 22:7
2 Chronicles 22:7
7 And the destructiona of Ahaziah was of God by coming to Joram: for when he was come, he went out with Jehoram against Jehu the son of Nimshi, whom the LORD had anointed to cut off the house of Ahab.