Then he called for Solomon his son and charged him to build a house for the LORD, the God of Israel.
Though Solomon was young and tender, he was capable of receiving instructions, which his father accordingly gave him, concerning the work for which he was designed. When David came to the throne he had many things to do, for the foundations were all out of course; but Solomon had only one thing in charge, and that was to build a house for the Lord God of Israel, Ch1 22:6.
Commenting on 1 Chronicles 22:6-16
Then he called for Solomon his son,.... 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 Ch1 22:5.
HE INSTRUCTS SOLOMON. (Ch1 22:6-19) Then he called for Solomon . . . and charged him--The earnestness and solemnity of this address creates an impression that it was given a little before the old king's decease. He unfolded his great and long cherished plan, enjoined the building of God's house as a sacred duty on him as his son and successor, and described the resources...