Elijah's first appearance in the period of the Kings was his meeting with Ahab in the house of Hiel, the Beth-elite, the commander-in-chief of the Israelitish army, whom he was visiting to condole with him for the loss of his sons. God Himself had charged the prophet to offer sympathy to Hiel, whose position demanded that honor be paid him. Elijah at first refused to seek out the sinner who had violated the Divine injunction against rebuilding Jericho, for he said that the blasphemous talk of such evil-doers always called forth his rage.

Thereupon God promised Elijah that fulfilment should attend whatever imprecation might in his wrath escape him against the godless for their unholy speech. As the prophet entered the general's house, he heard Hiel utter these words: "Blessed be the Lord God of the pious, who grants fulfilment to the words of the pious." Hiel thus acknowledged that he had been justly afflicted with Joshua's curse against him who should rebuild Jericho.