1 Chronicles 22:6-13
22:6 He summoned his son Solomon and charged him to build a temple for the Lord God of Israel.
22:7 David said to Solomon: “My son, I really wanted to build a temple to honor the Lord my God.
22:8 But the Lord said to me: ‘You have spilled a great deal of blood and fought many battles. You must not build a temple to honor me, for you have spilled a great deal of blood on the ground before me.
22:9 Look, you will have a son, who will be a peaceful man. I will give him rest from all his enemies on every side. Indeed, Solomon will be his name; I will give Israel peace and quiet during his reign.
22:10 He will build a temple to honor me; he will become my son, and I will become his father. I will grant to his dynasty permanent rule over Israel.’
22:11 “Now, my son, may the Lord be with you! May you succeed and build a temple for the Lord your God, just as he announced you would.
22:12 Only may the Lord give you insight and understanding when he places you in charge of Israel, so you may obey the law of the Lord your God.
22:13 Then you will succeed, if you carefully obey the rules and regulations which the Lord ordered Moses to give to Israel. Be strong and brave! Don’t be afraid and don’t panic!