1 Chronicles 28:3-6

MLV(i) 3 But God said to me, You will not build a house for my name, because you are a man of war and have shed blood.
4 However Jehovah, the God of Israel, chose me out of all the house of my father to be king over Israel everlasting. For he has chosen Judah to be ruler and in the house of Judah, the house of my father and among the sons of my father he took pleasure in me to make me king over all Israel.
5 And of all my sons (for Jehovah has given me many sons), he has chosen Solomon my son to sit upon the throne of the kingdom of Jehovah over Israel. 6 And he said to me, Solomon your son, he will build my house and my courts, for I have chosen him to be my son and I will be his father.