1 Chronicles 22:7-8

7David said to Solomon, “My son, aI had it in my heart to build a house to the name of the Lord my God. 8But the word of the Lord came to me, saying, b‘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 on the earth.
Copyright information for ESV