John Gill's Bible Commentary Ver. 6. Then he called for Solomon his son , etc.] To be brought before him: and charged him to build an house for the Lord God of Israel ; which charge was given a little before his death, after he had made great preparations for this work, as appears from ( 1 Chronicles 22:5,14-16).
Matthew Henry Commentary
Verses 6-16 - David gives Solomon the reason why he should build the temple. Becaus God named him. Nothing is more powerful to engage us in any service for God, than to know that we are appointed thereto. Because he would have leisure and opportunity to do it. He should have peace and quietness Where God gives rest, he expects work. Because God had promised to establish his kingdom. God's gracious promises should quicken an strengthen our religious service. David delivered to Solomon an accoun of the vast preparations he had made for this building; not from prid and vain-glory, but to encourage Solomon to engage cheerfully in the great work. He must not think, by building the temple, to purchase dispensation to sin; on the contrary, his doing that would not be accepted, if he did not take heed to fulfil the statutes of the Lord In our spiritual work, as well as in our spiritual warfare, we have need of courage and resolution. (1Ch 22:17-19)
Original Hebrew ויקרא7121 לשׁלמה8010 בנו1121 ויצוהו6680 לבנות1129 בית1004 ליהוה3068 אלהי430 ישׂראל׃3478