2 Chronicles 6:7

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

2 Chronicles 6:7 In-Context

5 Since the day that I brought forth my people out of the land of Egypt I chose no city among all the tribes of Israel to build an house in, that my name might be there; neither chose I any man to be a ruler over my people Israel:
6 But I have chosen Jerusalem, that my name might be there; and have chosen David to be over my people Israel.
7 Now it was in the heart of David my father to build an house for the name of the LORD God of Israel.
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:
9 Notwithstanding thou shalt not build the house; but thy son which shall come forth out of thy loins, he shall build the house for my name.
The King James Version is in the public domain.