Jeremiah 33:21-26 NCV

21 only then could you change my agreement with David and Levi. Only then would my servant David not have a descendant ruling as king on David's throne. And only then would the family of Levi not be priests serving me in the Temple.
22 But I will give many descendants to my servant David and to the family group of Levi who serve me in the Temple. They will be as many as the stars in the sky that no one can count. They will be as many as the grains of sand on the seashore that no one can measure."
23 The Lord spoke his word to Jeremiah, say-ing:
24 "Jeremiah, have you heard what the people are saying? They say: 'The Lord turned away from the two families of Israel and Judah that he chose.' Now they don't think of my people as a nation anymore!"
25 This is what the Lord says: "If I had not made my agreement with day and night, and if I had not made the laws for the sky and earth,
26 only then would I turn away from Jacob's descendants. And only then would I not let the descendants of David my servant rule over the descendants of Abraham, Isaac, and Jacob. But I will be kind to them and cause good things to happen to them again."