2 Kings 1:15-18

15 And the angel of the LORD said to Elijah, Go down with him: be not afraid of him. And he arose, and went down with him to the king.

16 And he said to him, Thus said the LORD, For as much as you have sent messengers to inquire of Baalzebub the god of Ekron, is it not because there is no God in Israel to inquire of his word? therefore you shall not come down off that bed on which you are gone up, but shall surely die.

17 So he died according to the word of the LORD which Elijah had spoken. And Jehoram reigned in his stead in the second year of Jehoram the son of Jehoshaphat king of Judah; because he had no son.

18 Now the rest of the acts of Ahaziah which he did, are they not written in the book of the chronicles of the kings of Israel?