Driven by a deep desire to build a permanent home for God, David dedicated his life to this vision. In response to his profound commitment, God grants him an eternal promise regarding the future of his royal line. Delivered through the prophet Nathan, this divine guarantee serves as a direct answer to David's prayers. Although David himself was not chosen to construct the Temple, God assures him that his own son will inherit the throne and complete the building of the holy house [מאירי, רד״ק, ביאור שטיינזלץ].
The primary approach among commentators is that God's declaration acts as a binding oath. It is an absolute and permanent commitment. God guarantees that He will never retract this promise, ensuring that a direct descendant of David will always be appointed to sit upon the royal throne [אבן עזרא, מצודת דוד, מאירי, רד״ק, ביאור שטיינזלץ].
This royal guarantee is deeply connected to the selection of Jerusalem as a holy site. It can be compared to a human king who visits a beloved friend. When the friend builds a magnificent palace for the king, the visiting monarch is so moved by the gesture that he vows never to leave the palace, thereby forming an everlasting bond with the friend's family. In the same way, David's intense devotion led God to choose Zion as His dwelling place. As a direct result of choosing Zion, God swore that the crown would never depart from David's family [מלבי״ם].
Within this oath lies an additional layer of divine kindness. The long-term survival of the dynasty in future generations relied on a condition, requiring the descendants to remain faithful to God's covenant. However, the promise regarding David's immediate successor, Solomon, was given without any conditions [מלבי״ם, אלשיך]. This absolute guarantee was meant to send David a clear message of divine forgiveness. It proved to him that his son's reign would be firmly established no matter what, regardless of whether the immediate successors proved to be righteous [אלשיך].