1 Chronicles 17:25 in the King James Version
For thou, O my God, hast told thy servant that thou wilt build him an house: therefore thy servant hath found in his heart to pray before thee.
Context
24 Let your name be established and magnified forever, saying, ‘The LORD of Armies is the God of Israel, even a God to Israel. The house of David your servant is established before you.’
25 For you, my God, have revealed to your servant that you will build him a house. Therefore your servant has found courage to pray before you.
26 Now, LORD, you are God, and have promised this good thing to your servant.