1 Chronicles 22:6-13
English Standard Version
Chapter 22
6Then he called for Solomon his son and charged him to build a house for the Lord, the God of Israel. 7David said to Solomon, "My son, I had it in my heart to build a house to the name of the Lord my God. 8But the word of the Lord came to me, saying, ‘You have shed much blood and have waged great wars. You shall not build a house to my name, because you have shed so much blood before me on the earth. 9Behold, a son shall be born to you who shall be a man of rest. I will give him rest from all his surrounding enemies. For his name shall be Solomon, and I will give peace and quiet to Israel in his days. 10He shall build a house for my name. He shall be my son, and I will be his father, and I will establish his royal throne in Israel forever.’
11"Now, my son, the Lord be with you, so that you may succeed in building the house of the Lord your God, as he has spoken concerning you.
12Only, may the Lord grant you discretion and understanding, that when he gives you charge over Israel you may keep the law of the Lord your God.
13Then you will prosper if you are careful to observe the statutes and the rules that the Lord commanded Moses for Israel. Be strong and courageous. Fear not; do not be dismayed.