1 Kings 2:27

Overview - 1 Kings 2
David, having given a charge to Solomon,
of religiousness;
of Joab;
of Barzillai;
of Shimei;
10 dies.
12 Solomon succeeds.
13 Adonijah, moving Bath-sheba to sue unto Solomon for Abishag, is put to death.
26 Abiathar, having his life given him, is deprived of the priesthood.
28 Joab fleeing to the horns of the altar, is there slain.
35 Benaiah is put in Joab's room, and Zadok in Abiathar's.
36 Shimei, confined to Jerusalem, by occasion of going thence to Gath, is put to death.
Treasury of Scripture Knowledge

1 Kings 2:27  (King James Version)
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
This was for having taken part with Adonijah; but by it a remarkable prophecy was fulfilled. God had told Eli, (1 Sa 2:30-36 that the priesthood should depart from his house;
Abiathar was the last of the priests of Ithamar, of which family was Eli the high priest. Zadok, who succeeded, was of the family of Eleazar; and by this change the priesthood reverted to its ancient channel.* that he.
1Sa 2:30-36 3:12-14 Mt 26:56 Joh 12:38 19:24,28,36,37

Joshua 18:1 ; Psalms 78:60 ; Jeremiah 7:12-14