1 Chronicles 22:6-8
Evangelical Heritage Version
6 He summoned his son Solomon and commanded 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 for the name of the Lord my God. 8 But this word of the Lord was laid upon me: “You have shed much blood. You have waged great wars. You will not build a house for my name because of the great amount of blood you have shed on the earth in my presence.