Source · the work in full

Rashi on the Former Prophets

CC BY · The Metsudah Tanach series (Metsudah Publications, Lakewood, NJ)
Chapter 16

1 Kings 16

Also, in the hand of Yeihu the son of Chanoni the prophet, there was a word of Adonoy concerning Bashah. I.e., behold Eilah son of Bashah reigned, nevertheless, the word of Adonoy through Yeihu was that his kingdom would not last.
And because he had killed him [Nodov]. Since he too, committed the same sins, consequently he should not have killed him, therefore he was punished for his murder. And similarly we find, “And I will avenge the blood of Yizre’el upon the house of Yeihu,” because they did not turn away from Achov’s ways, they were punished for his murder.

He was the officer of half the chariots. He and another were captains over the chariots.

Nor any of his relatives or friends. [Targum Yonoson rendered, “neither] his kinfolk nor his friends.”

And Tivni died. When Asa took Omri’s daughter in marriage for Yehoshofot his son, they killed Tivni, when they saw Omri’s prominence; according to Seder Olam.

In the thirty-first year of the reign of Asa, etc., Omri reigned. An undisputed reign. His conflict with Tivni lasted five years, from the twenty-seventh year of Asa[’s reign] until the thirty-first [year].
For twelve years. Was the total [of his reign], five [years] were in conflict and seven [years] his reign was undisputed. It is impossible to say that his reign was undisputed for twelve years, because Achov his son reigned in the thirty-eighth year of Asa[’s reign].
In Tirtzoh he reigned six years. Before he had built Shomron.

And worshiped the [idol] Baal. In addition to Yerovom’s calves.

An Asheirah. A tree that is worshiped..—Radak

Chieil of Beis Eil. [I.e.,] Chieil who was from Beis Eil, similar to, “Yishay of Beis Lechem [בית הלחמי],” and it does not state הבית לחמי, and similarly, “Yehoshua of Beis Shemesh [בית השמשי],” in the Book of Shmuel, and [it does] not [state] הבית שמשי, and similarly, “In Ofrah [that belonged to Yoash] of the Avi Ezri [אבי העזרי],” and it does not state האבי עזרי. Some interpret בית האלי [is from the word אלה or curse], since he accepted upon himself Yehoshua’s curses, “Cursed [before Adonoy] be the man who rises up and rebuilds, etc.” Our Rabbis stated that Chieil was of [the tribe of] Binyomin, and Yericho belonged to Yehoshofot [King of Yehudah]. Why does [Scripture] relate him to Achov [King of Yisroel], because a curse is related to a corrupt person. (Other texts: To a cursed person.)
With Avirom his first born he laid the foundation. When he laid its foundation, his firstborn son died, and he buried [him] and continued to bury all his sons until the last one died when he was installing its doors. And, these were Yehoshua’s curses, “With [the loss of] his firstborn shall he lay its foundation, and with [the loss of] his youngest child he will set up its gates.”

You arrive at the cited line; the whole work is yours to read around it. The text is set from the cited public-domain edition.