Ben Sira 45:25

25 A covenant was also established with David, the son of Jesse, of the tribe of Judah: the heritage of the king is from son to son only; so the heritage of Aaron is for his descendants.

Ben Sira 45:25 In-Context

23 Phinehas the son of Eleazar is the third in glory, for he was zealous in the fear of the Lord, and stood fast, when the people turned away, in the ready goodness of his soul, and made atonement for Israel.
24 Therefore a covenant of peace was established with him, that he should be leader of the sanctuary and of his people, that he and his descendants should have the dignity of the priesthood for ever.
25 A covenant was also established with David, the son of Jesse, of the tribe of Judah: the heritage of the king is from son to son only; so the heritage of Aaron is for his descendants.
26 May the Lord grant you wisdom in your heart to judge his people in righteousness, so that their prosperity may not vanish, and that their glory may endure throughout their generations.
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.