The establishment of an eternal royal dynasty is intrinsically tied to the building of the Temple. This lasting kingdom is built upon an intimate bond between the king and God, characterized by a mutual father-son relationship. However, this dynamic requires human initiative. Solomon must first prepare himself to take on the role of a son by serving God and fulfilling His commandments. Only after he takes this initial step will the second part of the promise be realized, with God acting as a father [חומת אנך].
The essence of this divine connection is rooted in deep affection and compassion, mirroring the mercy a parent has for a beloved child [מצודת דוד]. Yet, this relationship also carries a vital element of supervision and discipline. When God steps into the role of a father, it means that if the king were to sin, God would immediately correct him. This swift discipline is designed to guide him back to the proper path, ensuring that God's kindness is never permanently removed [רלב״ג, מלבי״ם].
Because of this guiding oversight, the king is protected from completely losing his righteous standing. Consequently, God promises to firmly establish his royal throne over Israel for all time [ביאור שטיינזלץ]. This guarantee of an eternal reign is directed toward Solomon's descendants who will follow him [מצודת דוד]. Ultimately, the very act of constructing the Temple secures this permanent kingdom, as God's choice to dwell in Zion and the Temple is inseparably bound to the eternal survival of the Davidic dynasty [מלבי״ם].