1 Kings 8:17 (KJV)

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