King Solomon's removal of a prominent religious leader marks a profound intersection of human political motives and divine providence. On the surface, the king acted out of practical considerations, punishing Abiathar for his involvement in Adonijah's conspiracy without ever mentioning the historical sins of the priest's family. On a deeper level, however, these complex events unfolded specifically so that Solomon's actions would complete and fulfill [מצודת ציון] an ancient prophecy [ביאור שטיינזלץ, אברבנאל].
The primary approach among commentators is that this dismissal did not strip Abiathar of his priesthood entirely, but rather removed him from the exalted position of High Priest. The original prophecy of doom against his family was delivered generations earlier, during the time when the Tabernacle stood in Shiloh. According to that ancient decree, the descendants of Eli were destined to lose their authority, fall from greatness, and be forced into a state of dependence on other priests [רד״ק, מצודת דוד, ביאור שטיינזלץ].
The timing of this fulfillment was deeply tied to the nation's transition from a temporary sanctuary to a permanent home for God. Ever since the destruction of the Tabernacle in Shiloh, there had been no central house for divine service. Now, as the construction of the Temple approached, the moment arrived to finalize the decree and expel the house of Eli [רש״י, אברבנאל]. Simultaneously, a parallel promise to establish a faithful priest who would walk before the anointed king was realized. This was fulfilled through the appointment of Zadok as High Priest, serving under Solomon, who had been chosen for his exceptional wisdom and understanding [רלב״ג, אברבנאל].
Beyond the loss of his title, Abiathar's banishment to Anathoth carried an unspoken threat to his life. Similar to the strict boundaries placed upon Shimei the son of Gera, Abiathar was forbidden from leaving the borders of his property. If he were to violate this order, his death would be his own fault. Because Abiathar strictly observed this command and never left his city, his life was spared. This strict obedience explains why the account of his fate is kept brief, especially when contrasted with the much longer narrative of Shimei [אברבנאל].