Then King David rose to his feet and said, "Listen to me, my brothers and my people. It was in my heart to build a house as a resting place for the ark of the Lord's covenant and as a footstool for our God. I had made preparations to build,
but God said to me, 'You are not to build a house for My name because you are a man of war and have shed blood.'
References for 1 Chronicles 28:3
"Yet the Lord God of Israel chose me out of all my father's household to be king over Israel forever. For He chose Judah as leader, and from the house of Judah, my father's household, and from my father's sons, He was pleased to make me king over all Israel.
And out of all my sons-for the Lord has given me many sons-He has chosen my son Solomon to sit on the throne of the Lord's kingdom over Israel.
He said to me, 'Your son Solomon is the one who is to build My house and My courts, for I have chosen him to be My son, and I will be his father.
I will establish his kingdom forever if he perseveres in keeping My commandments and My ordinances as [he is] today.'
"So now in the sight of all Israel, the assembly of the Lord, and in the hearing of our God, observe and seek after all the commandments of the Lord your God so that you may possess this good land and leave it as an inheritance to your descendants forever.