The land of Israel was not destroyed till the seven courts of judgment had fallen into idolatry, and these are they: — Jeroboam, the son of Nebat; Baasha, the son of Ahijah; Ahab, the son of Omri; Jehu, the son of Nimshi; Pekah, the son of Remaliah; Menahem, the son of Gadi; and Hoshea, the son of Elah; as it is written (Jer. xv. 9), • She that hath borne seven languisheth: she hath given up the ghost; her sun is gone down while it is yet day; she hath been ashamed and confounded
The Seven Wicked Kings Who Sealed Israel's Exile
Gittin 88a