So the whole assembly made a covenant with the king in the house of God, and Jehoiada said to them, “Behold, the king’s son will reign, as the Lord has said of the sons of David.
So all of the elders of Israel came to the king at Hebron, and King David made a covenant with them before the Lord at Hebron. They anointed David king over Israel.
that the Lord may carry out His word that He spoke concerning me, saying, ‘If your children take heed to their way, to walk before Me in faithfulness with all their hearts and with all their souls, you shall not fail to have a man on the throne of Israel.’
then I will establish the throne of your kingdom upon Israel forever, just as I promised to your father David, saying, ‘You shall not fail to have a man upon the throne of Israel.’
Jehoiada made a covenant between the Lord and the king and the people, that they should be the people of the Lord, and also between the king and the people.
Then all the elders of Israel came to King David at Hebron, and he made a covenant with them there before the Lord. So they anointed David king over Israel according to the word of the Lord delivered by Samuel.
But the Lord was not willing to destroy the house of David because of the covenant that He made with David, and because He said that He would give a lamp to David and his sons for all days.
“And now, O Lord God of Israel, keep what You promised Your servant David my father saying, ‘You will not lack a man sitting on the throne of Israel before Me, if only your sons take heed to their way to walk in My law as you have walked before Me.’