1Thus Solomon finished the house of the LORD and the king's house. All that Solomon had planned to do in the house of the LORD and in his own house he successfully accomplished.
Then the LORD appeared to Solomon in the night and said to him: "I have heard your prayer 2and have chosen this place for myself as a house of sacrifice.
3When I shut up the heavens so that there is no rain, or command the locust to devour the land, or send pestilence among my people,
if my people who are called by my name 4humble themselves, and pray and seek my face and turn from their wicked ways, then I will hear from heaven and will forgive their sin and heal their land.
5Now my eyes will be open and my ears attentive to the prayer that is made in this place.
6For now I have chosen and consecrated this house that my name may be there forever. My eyes and my heart will be there for all time.
And as for you, if you will walk before me as David your father walked, doing according to all that I have commanded you and keeping my statutes and my rules,
then I will establish your royal throne, as I covenanted with David your father, saying, 7'You shall not lack a man to rule Israel.'
8"But if you turn aside and forsake my statutes and my commandments that I have set before you, and go and serve other gods and worship them,
9then I will pluck you up from my land that I have given you, and this house that I have consecrated for my name, I will cast out of my sight, and I will make it 10a proverb and a byword among all peoples.
And at this house, which was exalted, everyone passing by will be astonished and say, 11'Why has the LORD done thus to this land and to this house?'
Then they will say, 'Because they abandoned the LORD, the God of their fathers who brought them out of the land of Egypt and laid hold on other gods and worshiped them and served them. Therefore he has brought all this disaster on them.'"