2 Chronicles 6:8

the Lord said to him: ‘In so far as it was your will that you build a house to my name, certainly you have done well in having such a will

Other versions

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:

English Standard Version

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.

New International Version

But the LORD said to my father David, 'Because it was in your heart to build a temple for my Name, you did well to have this in your heart.