1 Chronicles 28:2-8

2 Then David, the king, stood up upon his feet and said, Hear me, my brethren, and my people: As for me, I had in my heart to build a house of rest for the ark of the covenant of the LORD and for the footstool of our God and had made ready for the building.
3 But God said unto me, Thou shalt not build a house for my name because thou hast been a man of war and hast shed blood.
4 However, the LORD God of Israel chose me before all the house of my father to be king over Israel for ever, for he has chosen Judah to be the ruler; and of the house of Judah, the house of my father; and among the sons of my father he liked me to make me king over all Israel;
5 and of all my sons (for the LORD has given me many sons) he has chosen Solomon, my son, to sit upon the throne of the kingdom of the LORD over Israel.
6 And he said unto me, Solomon, thy son, he shall build my house and my courts, for I have chosen him to be my son, and I will be his father.
7 Moreover, I will establish his kingdom for ever if he is constant to do my commandments and my judgments as at this day.
8 Now, therefore, in the sight of all Israel the congregation of the LORD and in the audience of our God, keep and seek for all the commandments of the LORD your God, that ye may possess this good land and leave it for an inheritance for your sons after you for ever.
The Jubilee Bible (from the Scriptures of the Reformation), edited by Russell M. Stendal, Copyright © 2000, 2001, 2010