"'I will raise up for myself a faithful priest, who will do according to what is in my heart and mind. I will firmly establish his priestly house, and they will minister before my anointed one always.'" NIV translation
This verse speaks of Zadok who served as priest during the time of David. His family line in the priesthood continued up to the time when Antiochus Epiphanes desecrated the temple and sold the priesthood to Menelaus.
"'Then everyone left in your family line will come and bow down before him for a piece of silver and a loaf of bread and plead, "Appoint me to some priestly office so I can have food to eat."'" NIV translation
A family of faithful priests were raised up to replace Eli's family. Eli's descendants became basically hired servants of the priests. They were not faithful to their calling and so the calling was removed.