2 Samuel 7:12
10 I will establish a place for my people Israel and settle them there; they will live there and not be disturbed anymore. Violent men will not oppress them again, as they did in the beginning 11 and during the time when I appointed judges to lead my people Israel. Instead, I will give you relief from all your enemies. The Lord declares to you that he himself will build a dynastic house for you. 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.
28 You have made known to me the paths of life;you will make me full of joy with your presence.’ 29 “Brothers, I can speak confidently to you about our forefather David, that he both died and was buried, and his tomb is with us to this day. 30 So then, because he was a prophet and knew that God had sworn to him with an oath to seat one of his descendants on his throne, 31 David by foreseeing this spoke about the resurrection of the Christ, that he was neither abandoned to Hades, nor did his body experience decay. 32 This Jesus God raised up, and we are all witnesses of it.
Notes and References
"... Unlike the Qumranic pesher, in both exegetical references to Psalms in Acts 2 David’s role, paradigmatic for his messianic offspring, is one not of a king but of a prophet. Moreover, Jesus’ messiahship as presented in Luke-Acts as a whole has been portrayed as one of unequivocally pneumatic type, with receiving the Spirit and giving it to the community as its core characteristics.61 In other words, the shift of emphasis proclaimed in Acts 1:6–8 is completed/backed in Acts 2 by means of exegesis. Exegetic emphasis on resurrection as the key feature of Jesus’ Davidic messiahship is also promoted further on in Acts. This time it is Paul who follows Peter’s precedent in a programmatic sermon, which the author of Acts has him deliver in the synagogue of Antioch on the Sabbath (Acts 13:14–34). A reference is made here to the same verse from Psalms 15:10 as in Acts 2:27; moreover, it has been suggested that 2 Samuel 7:6–16—the passage which 4QFlorilegium relates to—is also alluded to in Paul’s speech. The Davidic descent of Jesus is properly highlighted; but characteristically in Acts 13:30–34 a claim is made that it is the resurrection—and not the messianic kingdom—that constitutes “the sure mercies of David” (with reference to Isaiah 55:3) promised by God ..."
Ruzer, Serge Mapping the New Testament: Early Christian Writings as a Witness for Jewish Biblical Exegesis (p. 121) Brill, 2007