17 And it was in the heart of David my father to build a house unto the name of Jehovah the God of Israel. 18 But Jehovah said to David my father, Whereas it was in thy heart to build a house unto my name, thou didst well that it was in thy heart; 19 nevertheless thou shalt not build the house; but thy son that shall come forth out of thy loins, he shall build the house unto my name.

Matthew Henry's Commentary on 1 Kings 8:17-19

Commentary on 1 Kings 8:12-21

(Read 1 Kings 8:12-21)

Solomon encouraged the priests, who were much astonished at the dark cloud. The dark dispensations of Providence should quicken us in fleeing for refuge to the hope of the gospel. Nothing can more reconcile us to them, than to consider what God has said, and to compare his word and works together. Whatever good we do, we must look on it as the performance of God's promise to us, not of our promises to him.