“As for you, my son Solomon, know the God of your father, and serve Him with a loyal heart and with a willing mind; for the Lord searches all hearts and understands all the intent of the thoughts. If you seek Him, He will be found by you; but if you forsake Him, He will cast you off forever. (1 Chronicles 28:9)
Notice that the command to know came before the command to serve. “To know God is to serve Him. All failure in service is the result of loss of vision of God
11 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; 12 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;
19 “All this,” said David, “the Lord made me understand in writing, by His hand upon me, all the works of these plans.” (1 Chronicles 28:11-12, 19)
David had got the plans from the Spirit of God. It was not human ingenuity.
David did almost everything for the building of the temple except actually build it. He gave Solomon security, a location, the land, money, materials, supervisory staff, workers, and an organized team to run the temple. Here we also see that David also gave his son Solomon the plans.