2 Kings 1-18 NIV
The Lord’s Judgment on Ahaziah
1After Ahab’s death, Moab rebelled against Israel. 2Now Ahaziah had fallen through the lattice of his upper room in Samaria and injured himself. So he sent messengers, saying to them, “Go and consult Baal-Zebub, the god of Ekron, to see if I will recover from this injury.”
3But the Angel of the Lord said to Elijah the Tishbite, “Go up and meet the messengers of the king of Samaria and ask them, ‘Is it because there is no God in Israel that you are going off to consult Baal-Zebub, the god of Ekron?’ 4Therefore this is what the Lord says: ‘You will not leave the bed you are lying on. You will certainly die!’ ” So Elijah went.
5When the messengers returned to the king, he asked them, “Why have you come back?”
6“A man came to meet us,” they replied. “And he said to us, ‘Go back to the king who sent you and tell him, “This is what the Lord says: Is it because there is no God in Israel that you are sending messengers to consult Baal-Zebub, the god of Ekron? Therefore you will not leave the bed you are lying on. You will certainly die!” ’ ”
7The king asked them, “What kind of man was it who came to meet you and told you this?”
The king said, “That was Elijah the Tishbite.”
9Then he sent to Elijah a captain with his company of fifty men. The captain went up to Elijah, who was sitting on the top of a hill, and said to him, “Man of God, the king says, ‘Come down!’ ”
10Elijah answered the captain, “If I am a man of God, may fire come down from heaven and consume you and your fifty men!” Then fire fell from heaven and consumed the captain and his men.
11At this the king sent to Elijah another captain with his fifty men. The captain said to him, “Man of God, this is what the king says, ‘Come down at once!’ ”
12“If I am a man of God,” Elijah replied, “may fire come down from heaven and consume you and your fifty men!” Then the fire of God fell from heaven and consumed him and his fifty men.
13So the king sent a third captain with his fifty men. This third captain went up and fell on his knees before Elijah. “Man of God,” he begged, “please have respect for my life and the lives of these fifty men, your servants! 14See, fire has fallen from heaven and consumed the first two captains and all their men. But now have respect for my life!”
15The Angel of the Lord said to Elijah, “Go down with him; do not be afraid of him.” So Elijah got up and went down with him to the king.
16He told the king, “This is what the Lord says: Is it because there is no God in Israel for you to consult that you have sent messengers to consult Baal-Zebub, the god of Ekron? Because you have done this, you will never leave the bed you are lying on. You will certainly die!” 17So he died, according to the Word of the Lord that Elijah had spoken.
Because Ahaziah had no son, Joramb succeeded him as king in the second year of Jehoram son of Jehoshaphat king of Judah. 18As for all the other events of Ahaziah’s reign, and what he did, are they not written in the book of the annals of the kings of Israel?
Baalzebub - the god of flies
Ahaziah fell down through a lattice in his upper chamber—This lattice was either a part of the wooden parapet, or fence, which surrounds the flat roofs of houses, and over which the king was carelessly leaning when it gave way; or it might be an opening like a skylight in the roof itself, done over with lattice-work, which, being slender or rotten, the king stepped on and slipped through. This latter supposition is most probably the true one, as Ahaziah did not fall either into the street or the court, but "in his upper chamber."
Inquire of Baalzebub—Anxious to learn whether he should recover from the effects of this severe fall, he sent to consult Baalzebub, that is, the god of flies, who was considered the patron deity of medicine. A temple to that idol was erected at Ekron, which was resorted to far and wide, though it afterwards led to the destruction of the place (Zechariah 9:5; Amos 1:8; Zephaniah 2:4).
" If anyone is visiting Ekron, 'the god of flies' will be a name that gives no surprise. The flies there swarmed, in fact so innumerably, that no one could hardly get any food without these troublesome insects getting into it"