27 So Solomon removed Abiathar from the priesthood of the LORD, fulfilling the word the LORD had spoken at Shiloh about the house of Eli.

Read 1 Kings 2:27 Using Other Translations

So Solomon thrust out Abiathar from being priest unto the LORD; that he might fulfil the word of the LORD, which he spake concerning the house of Eli in Shiloh.
So Solomon expelled Abiathar from being priest to the LORD, thus fulfilling the word of the LORD that he had spoken concerning the house of Eli in Shiloh.
So Solomon deposed Abiathar from his position as priest of the LORD, thereby fulfilling the prophecy the LORD had given at Shiloh concerning the descendants of Eli.