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 ( 1 Chronicles 22:5  1 Chronicles 22:14-16 ) .