1 Kings 9:5
9:5 Then I will allow your dynasty to rule over Israel permanently, just as I promised your father David, ‘You will not fail to have a successor on the throne of Israel.’
Jeremiah 33:20-21
33:20 “I, Lord, make the following promise: ‘I have made a covenant with the day and with the night that they will always come at their proper times. Only if you people could break that covenant
33:21 could my covenant with my servant David and my covenant with the Levites ever be broken. So David will by all means always have a descendant to occupy his throne as king and the Levites will by all means always have priests who will minister before me.
Jeremiah 33:25-26
33:25 But I, the Lord, make the following promise: I have made a covenant governing the coming of day and night. I have established the fixed laws governing heaven and earth.
33:26 Just as surely as I have done this, so surely will I never reject the descendants of Jacob. Nor will I ever refuse to choose one of my servant David’s descendants to rule over the descendants of Abraham, Isaac, and Jacob. Indeed, I will restore them and show mercy to them.”