Cross reference
1 Kings 8:17
17 Now it was in the heart of David my father to put up a house for the name of the Lord, the God of Israel.
2 Samuel 7:2-3
2 The king said to Nathan the prophet, See now, I am living in a house of cedar, but the ark of God is housed inside the curtains of a tent.
3 And Nathan said to the king, Go and do whatever is in your heart; for the Lord is with you.
1 Chronicles 17:1-15
1 Now when David was living in his house, he said to Nathan the prophet, See, I am living in a house of cedar-wood, but the ark of the Lord's agreement is under the curtains of a tent.
2 And Nathan said to David, Do whatever is in your heart, for God is with you.
3 But that same night, the word of God came to Nathan, saying,
4 Go and say to David my servant, The Lord says, You are not to make me a house for my living-place:
5 For from the day when I took Israel up, till this day, I have had no house, but have gone from tent to tent, and from living-place to living-place.
6 In all the places where I have gone with all Israel, did I ever say to any of the judges of Israel, whom I made the keepers of my people, Why have you not made for me a house of cedar?
7 So now, say to my servant David, The Lord of armies says, I took you from the fields, from keeping sheep, so that you might be a ruler over my people Israel;
8 And I have been with you wherever you went, cutting off before you all those who were against you; and I will make your name like the name of the greatest ones of the earth.
9 And I will make a resting-place for my people Israel, planting them there, so that they may be in the place which is theirs and never again be moved; and never again will they be made waste by evil men, as they were at first,
10 From the time when I put judges over my people Israel; and I will overcome all those who are against you; and I will make you great and the head of a line of kings.
11 And when the time comes for you to go to your fathers, I will put in your place your seed after you, one of your sons, and I will make his kingdom strong.
12 He will be the builder of my house, and I will make the seat of his authority certain for ever.
13 I will be to him a father and he will be to me a son; and I will not take my mercy away from him as I took it from him who was before you;
14 But I will make his place in my house and in my kingdom certain for ever; and the seat of his authority will never be overturned.
15 So Nathan gave David an account of all these words and this vision.
1 Chronicles 22:7
7 And David said to Solomon, My son, it was my desire to put up a house for the name of the Lord my God.
1 Chronicles 28:2
2 Then David the king got up and said, Give ear to me, my brothers and my people; it was my desire to put up a house, a resting-place for the ark of the Lord's agreement, and for the foot-rest of our God; and I had got material ready for the building of it.