Question:I know Solomon built the temple; David couldn't because of the wars he had been involved in (I Kings 5). But didn't David prepare some of the material for the building of the temple? Or was he involved a little in the preparation?
"Now it was in the heart of my father David to build a temple for the name of the LORD God of Israel. "But the LORD said to my father David, 'Whereas it was in your heart to build a temple for My name, you did well that it was in your heart. Nevertheless you shall not build the temple, but your son who will come from your body, he shall build the temple for My name'" (I Kings 8:17-19).
The time Solomon referred to is recording in II Samuel 7:1-17. He understood that God did not want a house built until the kingdom of Israel, which He established, was at peace. "You know how my father David could not build a house for the name of the LORD his God because of the wars which were fought against him on every side, until the LORD put his foes under the soles of his feet" (I Kings 5:3).
"And David said to Solomon: "My son, as for me, it was in my mind to build a house to the name of the LORD my God; but the word of the LORD came to me, saying, 'You have shed much blood and have made great wars; you shall not build a house for My name, because you have shed much blood on the earth in My sight. Behold, a son shall be born to you, who shall be a man of rest; and I will give him rest from all his enemies all around. His name shall be Solomon, for I will give peace and quietness to Israel in his days. He shall build a house for My name, and he shall be My son, and I will be his Father; and I will establish the throne of his kingdom over Israel forever.' Now, my son, may the LORD be with you; and may you prosper, and build the house of the LORD your God, as He has said to you" (I Chronicles 22:7-11).
While David could not build the temple, he did make preparations for its building.
"Indeed I have taken much trouble to prepare for the house of the LORD one hundred thousand talents of gold and one million talents of silver, and bronze and iron beyond measure, for it is so abundant. I have prepared timber and stone also, and you may add to them. Moreover there are workmen with you in abundance: woodsmen and stonecutters, and all types of skillful men for every kind of work. Of gold and silver and bronze and iron there is no limit. Arise and begin working, and the LORD be with you" (I Chronicles 22:14-16).
"So David commanded to gather the aliens who were in the land of Israel; and he appointed masons to cut hewn stones to build the house of God. And David prepared iron in abundance for the nails of the doors of the gates and for the joints, and bronze in abundance beyond measure, and cedar trees in abundance; for the Sidonians and those from Tyre brought much cedar wood to David. Now David said, "Solomon my son is young and inexperienced, and the house to be built for the LORD must be exceedingly magnificent, famous and glorious throughout all countries. I will now make preparation for it." So David made abundant preparations before his death" (I Chronicles 22:2-5).
"Furthermore King David said to all the assembly: "My son Solomon, whom alone God has chosen, is young and inexperienced; and the work is great, because the temple is not for man but for the LORD God. Now for the house of my God I have prepared with all my might: gold for things to be made of gold, silver for things of silver, bronze for things of bronze, iron for things of iron, wood for things of wood, onyx stones, stones to be set, glistening stones of various colors, all kinds of precious stones, and marble slabs in abundance. Moreover, because I have set my affection on the house of my God, I have given to the house of my God, over and above all that I have prepared for the holy house, my own special treasure of gold and silver: three thousand talents of gold, of the gold of Ophir, and seven thousand talents of refined silver, to overlay the walls of the houses; the gold for things of gold and the silver for things of silver, and for all kinds of work to be done by the hands of craftsmen. Who then is willing to consecrate himself this day to the LORD?" Then the leaders of the fathers' houses, leaders of the tribes of Israel, the captains of thousands and of hundreds, with the officers over the king's work, offered willingly. They gave for the work of the house of God five thousand talents and ten thousand darics of gold, ten thousand talents of silver, eighteen thousand talents of bronze, and one hundred thousand talents of iron. And whoever had precious stones gave them to the treasury of the house of the LORD, into the hand of Jehiel the Gershonite. Then the people rejoiced, for they had offered willingly, because with a loyal heart they had offered willingly to the LORD; and King David also rejoiced greatly" (I Chronicles 29:1-9).
David, inspired by God, also drew up many of the plans for the temple.
"Then David gave his son Solomon the plans for the vestibule, its houses, its treasuries, its upper chambers, its inner chambers, and the place of the mercy seat; and the plans for all that he had by the Spirit, of the courts of the house of the LORD, of all the chambers all around, of the treasuries of the house of God, and of the treasuries for the dedicated things; also for the division of the priests and the Levites, for all the work of the service of the house of the LORD, and for all the articles of service in the house of the LORD. He gave gold by weight for things of gold, for all articles used in every kind of service; also silver for all articles of silver by weight, for all articles used in every kind of service; the weight for the lampstands of gold, and their lamps of gold, by weight for each lampstand and its lamps; for the lampstands of silver by weight, for the lampstand and its lamps, according to the use of each lampstand. And by weight he gave gold for the tables of the showbread, for each table, and silver for the tables of silver; also pure gold for the forks, the basins, the pitchers of pure gold, and the golden bowls-he gave gold by weight for every bowl; and for the silver bowls, silver by weight for every bowl; and refined gold by weight for the altar of incense, and for the construction of the chariot, that is, the gold cherubim that spread their wings and overshadowed the ark of the covenant of the LORD. "All this," said David, "the LORD made me understand in writing, by His hand upon me, all the works of these plans." And David said to his son Solomon, "Be strong and of good courage, and do it; do not fear nor be dismayed, for the LORD God-my God-will be with you. He will not leave you nor forsake you, until you have finished all the work for the service of the house of the LORD. Here are the divisions of the priests and the Levites for all the service of the house of God; and every willing craftsman will be with you for all manner of workmanship, for every kind of service; also the leaders and all the people will be completely at your command"" (I Chronicles 28:11-21).
It appears that during the last days of King David, he spent a great deal of time and effort doing as much as he could to get things ready for the building of the temple even though he was not allowed to actually build it.