A divine promise spanning generations ultimately comes to pass, yet the way it unfolds depends heavily on the moral standing of those who receive it. The conclusion of Jehu's royal dynasty serves as a precise confirmation of the prophecy originally spoken to him. The dramatic events ending his line, specifically the assassination of Zechariah and the transfer of power to Shallum, directly fulfill God's earlier decree [מצודת דוד, רד״ק]. God had assured Jehu that his descendants down to the fourth generation would sit on the throne [ביאור שטיינזלץ].
From both a moral and practical standpoint, this royal line did not deserve to maintain power for so long. The kings were deeply wicked, and their survival for four generations was entirely due to God's command, as a positive divine promise is never left unfulfilled. Beneath the surface, the political climate had been ripe for rebellion for quite some time. This unrest became obvious in the ease with which Zechariah was publicly murdered without any fear of consequence [מלבי״ם].
The collapse of the dynasty after exactly four generations marks the absolute end of that era [מצודת דוד]. However, the nature of Zechariah's incredibly brief six-month reign highlights a deeper principle about prophecy. When a prophet delivers a promise from God, it must be realized so that the prophet is not viewed as a liar by the people. Because the kings of this dynasty were so sinful, God allowed only a minimal fulfillment of His promise. Placing Zechariah on the throne for just a short period was enough to validate God's word to Jehu. Had these kings lived righteously, Zechariah's rule would have lasted much longer, and the entire dynasty might have even continued into the future [רד״ק, חומת אנך].