David commanded to gather together the foreigners who were in the land of Israel; and he set masons to hew worked stones to build the house of God.
These verses indicate that David proceeded to gather vast quantities of materials with which the temple would be constructed.