God makes a covenant with David in 2 Samuel 7.8-16. God first recounts what he has already done for this man:
– I took you from the pasture, from following the sheep, to be prince over my people Israel.
– I have been with you wherever you went
– I have cut off all your enemies before you
Somewhat like the covenant with Abraham in Genesis 12, God makes promises to David that He will keep:
– I will make for you a great name
– I will appoint a place for my people Israel and will plant them so they will be disturbed no more and violent men shall afflict them no more
– I will give you rest from all your enemies
– I will make you a house (a ruling dynasty)
– I will raise up your offspring after you, and I will establish his kingdom
– I will be to him a father and he shall be to me a son
– I will discipline him when he commits iniquity but my steadfast love will not depart from him
– I will establish your house, kingdom, and throne forever.
The book of Hebrews (vs 1.5) applies part of these promises (the father and son part) to Jesus, because the Christ inherits David’s role as the representative of the people.