Flies are given a place within the testimony of scripture. There are two words used for fly: ‘Zebub’, a generic term for fly or insect. Dead flies cause the (perfumes) to stink. Whereas the fly will cause corruption, perfumes were used for atonement and the sweet embalmment of the dead Ecc 10:1; Isa 7:18. A second word ‘Arob’ is used of swarms of flies, and used as a descriptor of the plague sent on the Egyptians Ex 8:21ff; Psa 78:45; 105:31 and thought to be a type of sand-fly causing inflammatory disease of particularly the eyelids. (SBD)
It is probable that the golden emrods and mice represented the effects of either lice or other biting insect that would rapidly transmit a disastrous plague on the Philistines, and memorialised in the tokens given in the altar, Deut 28:27; 1 Sam 5:6,9,12; 6:4,5,11 Beelzebub (LXX Baal muian) was the lord of the fly and the dung-heap, the controller of disease, and god of the end of corruption of men following death. This god of the flies was one of the gods of the Philistines. Baalzebub or Beelzebub appears to be the chief of the gods: styled “chief of the devils” Luke 11:15; “master of the house” Matt 10:25. The dung-heap was the final place of complete annihilation, Ezra 6:11; Daniel 2:5; 3:29; Luke 14:35. If there was time to linger here waiting for the inevitable, it was the final call for repentance, because here men have no honour or personal virtues, 1 Sam 2:8; Lam 4:5; Psa 113:7.
Ahaziah was to fall through the lattice of his palace 2 Kings 1:2 a result of refusing the commandment to pray on the rooftop Deut 22:8. He was to enquire of the god of Ekron, called Baalzebub to which Elijah would send messengers to indicate that even Baalzebub the chief could not help his imminent departure to the dung-hill! Ahaziah as chief would then send various groups of fifty (righteous), not unlike the number of the ecclesia of Lot Gen 18:26 and like Sodom, fire would come from heaven to consume them because there was no righteous among them. The third captain (3 the number of atonement: 3 coverings on the tabernacle etc) fell on his knees demonstrating a spirit different to the king and his previous messengers, and was so saved. The king had demonstrated his belligerent refusal to fall before Yahweh, and so was sentenced to death 1 Kings 1:16.
Christ indicates the same judgment of spirit within the Jews. His disciples were commissioned to preach, and before going over all the cities of Israel, Christ would come again to lead fiery judgment on the house, in the manner of Sodom and Gomorrah, Matt 10:23,15. Christ was to later cast spirits out and be accused of casting them out by Baalzebub, Matt 12:23.