1 Chronicles 22:7

7 David said to Solomon, "My son, I had it in my heart to build a house to the name of the LORD my God.

1 Chronicles 22:7 In-Context

5 For David said, "Solomon my son is young and inexperienced, and the house that is to be built for the LORD must be exceedingly magnificent, of fame and glory throughout all lands; I will therefore make preparation for it." So David provided materials in great quantity before his death.
6 Then he called for Solomon his son, and charged him to build a house for the LORD, the God of Israel.
7 David said to Solomon, "My son, I had it in my heart to build a house to the name of the LORD my God.
8 But the word of the LORD came to me, saying, 'You have shed much blood and have waged great wars; you shall not build a house to my name, because you have shed so much blood before me upon the earth.
9 Behold, a son shall be born to you; he shall be a man of peace. I will give him peace from all his enemies round about; for his name shall be Solomon, and I will give peace and quiet to Israel in his days.
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.