4 'And thou—if thou dost walk before Me as David thy father walked, in simplicity of heart, and in uprightness, to do according to all that I have commanded thee—My statutes and My judgments thou dost keep— 5 then I have established the throne of thy kingdom over Israel—to the age, as I spake unto David thy father, saying, There is not cut off to thee a man from 'being' on the throne of Israel. 6 'If ye at all turn back—you and your sons—from after Me, and keep not My commands—My statutes, that I have set before you, and ye have gone and served other gods, and bowed yourselves to them, 7 then I have cut off Israel from the face of the ground that I have given to them, and the house that I have hallowed for My name I send away from My presence, and Israel hath been for a simile and for a byword among all the peoples;

Matthew Henry's Commentary on 1 Kings 9:4-7

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.