2 Samuel 7:14
12 When the time comes for you to die, I will raise up your descendant, one of your own sons, to succeed you, and I will establish his kingdom. 13 He will build a house for my name, and I will make his dynasty permanent. 14 I will become his father and he will become my son. When he sins, I will correct him with the rod of men and with wounds inflicted by human beings. 15 But my loyal love will not be removed from him as I removed it from Saul, whom I removed from before you. 16 Your house and your kingdom will stand before me permanently; your dynasty will be permanent.’”
Psalm 2:7
5 Then he angrily speaks to them and terrifies them in his rage, saying, 6 “I myself have installed my king on Zion, my holy hill.” 7 The king says, “I will announce the Lord’s decree. He said to me: ‘You are my son. This very day I have become your father. 8 Ask me, and I will give you the nations as your inheritance, the ends of the earth as your personal property. 9 You will break them with an iron scepter; you will smash them like a potter’s jar.’”
Notes and References
"... As ancient Near Eastern parallels make clear, the use of father–son terminology is significant. The employment of the adoption formula, “I shall become his father and he shall become my son,” to depict YHWH's relationship to David's successor is remarkable, because it expresses a high royal theology. (Similar language appears in KTU 1.15; II.25–28, Isaiah 9:5 and Psalm 2:7–8) Moreover, the adoption of David's heir is linked to the granting of an enduring dynasty. Through the prophet Nathan, YHWH assures David that his throne will be confirmed forever ..."
Knoppers, Gary "David's Relation to Moses: The Contexts, Contents, and Conditions of the Davidic Promises" in Day, John (ed.) King and Messiah in Israel and the Ancient Near East: Proceedings of the Oxford Old Testament Seminar (pp. 91-118) Sheffield Academic Press, 2013