Now set your heart and your soul to seek after Yahweh your God; arise therefore, and build the sanctuary of Yahweh God, to bring the ark of the covenant of Yahweh, and the holy vessels of God, into the house that is to be built to the name of Yahweh.
If God’s revelation to David (1 Chronicles 22:8) took place at the same time as the one mentioned in 2 Samuel 7:2, Solomon’s birth appears to have followed the giving of the Davidic Covenant (cf. 1 Chronicles 22:9). However, it seems probable that God gave the revelation in 1 Chronicles 22:8 to David before Solomon was born (1 Chronicles 22:9). He evidently repeated it after Solomon’s birth when He gave David the covenant (2 Samuel 7:2). Such a repetition is very probable in view of David’s great desire to build a house for the Lord. This was the passion of his life at the time he became king and from then on.