Through a wordplay on the term ‘house’ (bayit), God promises that he will build a house for David (i.e. a dynasty) and that David’s son will build a house for God (i.e. a temple). This divine commitment is called a ‘covenant’ in Psalm 89:3, although this term is not used in 2 Samuel 7, where these events are narrated.