And it came to pass, when Solomon had finished the building of the house of the LORD and the king's house, and all Solomon's desire which he was pleased to do,
that the LORD appeared to Solomon the second time, as He had appeared unto him at Gibeon.
And the LORD said unto him, "I have heard thy prayer and thy supplication that thou hast made before Me. I have hallowed this house which thou hast built, to put My name there forever; and Mine eyes and Mine heart shall be there perpetually.
And if thou wilt walk before Me as David thy father walked, in integrity of heart and in uprightness, to do according to all that I have commanded thee, and wilt keep My statutes and My judgments,
then I will establish the throne of thy kingdom upon Israel for ever, as I promised to David thy father, saying, `There shall not fail thee a man upon the throne of Israel.'
But if ye shall at all turn from following Me, ye or your children, and will not keep My commandments and My statutes which I have set before you, but go and serve other gods and worship them,
then will I cut off Israel out of the land which I have given them, and this house which I have hallowed for My name will I cast out of My sight; and Israel shall be a proverb and a byword among all people.
And at this house, which is high, every one who passeth by it shall be astonished and shall hiss; and they shall say, `Why hath the LORD done thus unto this land and to this house?'
And they shall answer, `Because they forsook the LORD their God who brought forth their fathers out of the land of Egypt, and have taken hold upon other gods, and have worshiped them and served them; therefore hath the LORD brought upon them all this evil.'"