2 Kings / Question
Ahaziah died according to the word the LORD spoke through Elijah. Because he had no son, Jehoram became king in his place. The account closes by pointing to the records of Ahaziah’s acts (2 Kings 1:17–18).
These closing verses report that Ahaziah’s death happened just as Elijah had announced, showing the announced outcome has now arrived (2 Kings 1:17–18). With Ahaziah having no son, the throne passes to Jehoram. The writer also anchors the timing by linking it to the reign of a Judean king with the same name. The passage functions as the wrap-up to the Ahaziah episode in 2 Kings 1:1–18. Earlier, Ahaziah sought guidance from a foreign deity after an accident, and Elijah confronted him with a message that he would not recover. The narrative then escalated through repeated military encounters and ends with the king’s death.
These verses close the Ahaziah episode by reporting three things in a tight sequence: (1) Ahaziah’s death matches what Yahweh had previously said through Elijah, (2) the throne passes to Jehoram because Ahaziah had no son, and (3) the writer points to another record for more details about Ahaziah’s reign (2 Kings 1:17–18).
A careful answer keeps the immediate passage, the book's argument, and the whole-Bible storyline together, so the question is answered in context instead of as a detached idea.
Start with 2 Kings 1:17-18, then read the surrounding section so the answer stays connected to the passage's flow.
17So he died according to the word of Yahweh which Elijah had spoken. Jehoram began to reign in his place in the second year of Jehoram the son of Jehoshaphat king of Judah; because he had no son.
18Now the rest of the acts of Ahaziah which he did, aren`t they written in the book of the chronicles of the kings of Israel?