1 Chronicles 28:3-6
28:3 But God said to me, ‘You must not build a temple to honor me, for you are a warrior and have spilled blood.’
28:4 The Lord God of Israel chose me out of my father’s entire family to become king over Israel and have a permanent dynasty. Indeed, he chose Judah as leader, and my father’s family within Judah, and then he picked me out from among my father’s sons and made me king over all Israel.
28:5 From all the many sons the Lord has given me, he chose Solomon my son to rule on his behalf over Israel.
28:6 He said to me, ‘Solomon your son is the one who will build my temple and my courts, for I have chosen him to become my son and I will become his father.