3 And the Lord said to him: "I have heard your prayer and your supplication that you have made before Me; I have consecrated this house which you have built to put My name there forever, and My eyes and My heart will be there perpetually. 4 Now if you walk before Me as your father David walked, in integrity of heart and in uprightness, to do according to all that I have commanded you, and if you keep My statutes and My judgments, 5 then I will establish the throne of your kingdom over Israel forever, as I promised David your father, saying, 'You shall not fail to have a man on the throne of Israel.' 6 But if you or your sons at all turn from following Me, and do not keep My commandments and My statutes which I have set before you, but go and serve other gods and worship them, 7 then I will cut off Israel from the land which I have given them; and this house which I have consecrated for My name I will cast out of My sight. Israel will be a proverb and a byword among all peoples. 8 And as for this house, which is exalted, everyone who passes by it will be astonished and will hiss, and say, 'Why has the Lord done thus to this land and to this house?' 9 Then they will answer, 'Because they forsook the Lord their God, who brought their fathers out of the land of Egypt, and have embraced other gods, and worshiped them and served them; therefore the Lord has brought all this calamity 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.