Cross reference
1 Kings 8:17
17 Now it was in the heart of David my father to build a house for the name of Yahweh, the God of Israel.
2 Samuel 7:2-3
2 that the king said to Nathan the prophet, See now, I dwell in a house of cedar, but the ark of God dwells within curtains.
3 Nathan said to the king, Go, do all that is in your heart; for Yahweh is with you.
1 Chronicles 17:1-15
1 It happened, when David lived in his house, that David said to Nathan the prophet, Behold, I dwell in a house of cedar, but the ark of the covenant of Yahweh [dwells] under curtains.
2 Nathan said to David, Do all that is in your heart; for God is with you.
3 It happened the same night, that the word of God came to Nathan, saying,
4 Go and tell David my servant, Thus says Yahweh, You shall not build me a house to dwell in:
5 for I have not lived in a house since the day that I brought up Israel, to this day, but have gone from tent to tent, and from [one] tent [to another].
6 In all places in which I have walked with all Israel, spoke I a word with any of the judges of Israel, whom I commanded to be shepherd of my people, saying, Why have you not built me a house of cedar?
7 Now therefore thus shall you tell my servant David, Thus says Yahweh of Hosts, I took you from the sheep pen, from following the sheep, that you should be prince over my people Israel:
8 and I have been with you wherever you have gone, and have cut off all your enemies from before you; and I will make you a name, like the name of the great ones who are in the earth.
9 I will appoint a place for my people Israel, and will plant them, that they may dwell in their own place, and be moved no more; neither shall the children of wickedness waste them any more, as at the first,
10 and [as] from the day that I commanded judges to be over my people Israel; and I will subdue all your enemies. Moreover I tell you that Yahweh will build you a house.
11 It shall happen, when your days are fulfilled that you must go to be with your fathers, that I will set up your seed after you, who shall be of your sons; and I will establish his kingdom.
12 He shall build me a house, and I will establish his throne forever.
13 I will be his father, and he shall be my son: and I will not take my loving kindness away from him, as I took it from him that was before you;
14 but I will settle him in my house and in my kingdom forever; and his throne shall be established forever.
15 According to all these words, and according to all this vision, so did Nathan speak to David.
1 Chronicles 22:7
7 David said to Solomon his son, As for me, it was in my heart to build a house to the name of Yahweh my God.
1 Chronicles 28:2
2 Then David the king stood up on his feet, and said, Hear me, my brothers, and my people: as for me, it was in my heart to build a house of rest for the ark of the covenant of Yahweh, and for the footstool of our God; and I had made ready for the building.