1 Kings 8:17 KJV

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