1 Kings 8:17

And it was in the heart of David my father to build an house for the name of the Lord God of Israel.

Cross-reference

2 Samuel 7:2 Historical context

2 Samuel 7:2 records David's conversation with Nathan, revealing the origin of the desire to build a temple for God.

2 Samuel 7:3 Historical context

2 Samuel 7:3 shows Nathan's initial approval, highlighting that David's plan was at first endorsed by God's prophet.

1 Chronicles 17:1 gives the parallel account of David expressing his wish to build a house for the ark.

1 Chronicles 17:2-15 expands with God's response through Nathan, forbidding David but promising the temple through his son.

1 Chronicles 22:7 quotes David later telling Solomon that building the temple was once in his heart.

1 Chronicles 28:2 has David publicly stating he had in heart to build a house for the ark, echoing the same desire.

2 Chronicles 6:7 is the identical verse, confirming the parallel account in Chronicles.

Acts 7:46 Allusion

Acts 7:46 recounts David's desire to find a dwelling for God, linking the OT event to Stephen's speech.