2 Chronicles 6:8

But the Lord said to David my father, Forasmuch as it was in thine heart to build an house for my name, thou didst well in that it was in thine heart:

Cross-references

2 Chronicles 29:10 shows Hezekiah expressing a heart-desire to restore the temple — mirroring David's heart in Solomon's prayer.

1 Kings 8:18-21 parallels God's commendation of David's heart and the temple's fulfillment.

1 Chronicles 17:4 Historical context

1 Chronicles 17:4 records God's direct command that David not build the temple — the historical basis for Solomon's recollection here.

1 Chronicles 28:3 Historical context

1 Chronicles 28:3 reveals God's reason for barring David (bloodshed) — adding context to why his desire was commended but unfulfilled.

2 Corinthians 8:12 Related theme

In 2 Corinthians 8:12, Paul affirms that willingness is acceptable according to what one has — paralleling God's commendation of David's heart desire.