Abiathar is dismissed from the priesthood by Solomon.
suffered in every way my father suffered
Abiathar had suffered alongside King David before David became king.
that he might fulfill
The word "he" refers to King Solomon.
which he had spoken
The word "he" refers to Yahweh.