1 Kings 5:3

3 a“You know that David my father could not build a house for the name of the Lord his God bbecause of the warfare with which his enemies surrounded him, until the Lord put them under the soles of his feet.

1 Chronicles 22:7

7David said to Solomon, “My son, cI had it in my heart to build a house to the name of the Lord my God.
Copyright information for ESV