3 Yahweh said to him, "I have heard your prayer and your supplication, that you have made before me. I have made this house holy, which you have built, to put my name there forever; and my eyes and my heart shall be there perpetually. 4 As for you, if you will walk before me, as David your father walked, in integrity of heart, and in uprightness, to do according to all that I have commanded you, and will keep my statutes and my ordinances; 5 then I will establish the throne of your kingdom over Israel forever, according as I promised to David your father, saying, ‘There shall not fail you a man on the throne of Israel.’ 6 But if you turn away from following me, you or your children, and not keep my commandments and my statutes which I have set before you, but shall go and serve other gods, and worship them; 7 then will I cut off Israel out of the land which I have given them; and this house, which I have made holy for my name, will I cast out of my sight; and Israel shall be a proverb and a byword among all peoples. 8 Though this house is so high, yet shall everyone who passes by it be astonished, and shall hiss; and they shall say, ‘Why has Yahweh done thus to this land, and to this house?’ 9 and they shall answer, ‘Because they forsook Yahweh their God, who brought forth their fathers out of the land of Egypt, and laid hold of other gods, and worshiped them, and served them. Therefore Yahweh has brought all this evil on them.’”
Matthew Henry's Commentary on 1 Kings 9:3-9
Commentary on 1 Kings 9:1-9
(Read 1 Kings 9:1-9)
God warned Solomon, now he had newly built and dedicated the temple, that he and his people might not be high-minded, but fear. After all the services we can perform, we stand upon the same terms with the Lord as before. Nothing can purchase for us liberty to sin, nor would the true believer desire such a licence. He would rather be chastened of the Lord, than be allowed to go on with ease and prosperity in sin.