2 Chronicles 6:8 in the King James Version
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:
Context
7 Now it was in the heart of David my father to build a house for the name of the LORD, the God of Israel.
8 But the LORD said to David my father, ‘Whereas it was in your heart to build a house for my name, you did well that it was in your heart;
9 nevertheless you shall not build the house, but your son who will come out of your body, he shall build the house for my name.’