Sea breeze....An example of an unconditional declaration of God is the Lord’s promise to David, “Your house and your kingdom will endure forever before me; your throne will be established forever” (2 Samuel 7:16). No conditions were stated or implied. No matter what David did or did not do, the word of the Lord would come to pass.
That is actually a classic example of later redaction changing what appears in some texts as unconditional into a conditional statement after the Exile.
Psalm 132:
The Lord swore an oath to David,
a sure oath he will not revoke:
“One of your own descendants
I will place on your throne."
Then we see the promise modified in the next verse:
If your sons keep my covenant
and the statutes I teach them,
then their sons will sit
on your throne for ever and ever.
Similarly, 1 Kings 2, in contrast to 2 Samuel, makes clear the author understood the promise to be conditional:
When David’s time to die was near, he told his son Solomon, 2 “I am going the way of all the earth. So be strong. Show yourself to be a man. 3 Do what the Lord your God tells you. Walk in His ways. Keep all His Laws and His Word, by what is written in the Law of Moses. Then you will do well in all that you do and in every place you go. 4 Then the Lord will keep His promise to me. He has said to me, ‘Your sons must be careful of their way, to walk before Me in truth with all their heart and soul. If they do, you will never be without a man on the throne of Israel.’
It is a fine example of how when the exile occurred many of the previous national traditions were reinterpreted or modified.