Thus 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, and have chosen this place for myself as a house of sacrifice.
When 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 humble themselves, pray, seek my face, and turn from their wicked ways, then I will hear from heaven, and will forgive their sin and heal their land.
Now my eyes will be open and my ears attentive to the prayer that is made in this place.
For now I have chosen and consecrated this house so that my name may be there forever; my eyes and my heart will be there for all time.
As for you, if you walk before me, as your father David walked, doing according to all that I have commanded you and keeping my statutes and my ordinances,
then I will establish your royal throne, as I made covenant with your father David saying, "You shall never lack a successor to rule over Israel.'
"But if you a turn aside and forsake my statutes and my commandments that I have set before you, and go and serve other gods and worship them,
then I will pluck you b up from the land that I have given you; c and this house, which I have consecrated for my name, I will cast out of my sight, and will make it a proverb and a byword among all peoples.
And regarding this house, now exalted, everyone passing by will be astonished, and say, "Why has the Lord done such a thing to this land and to this house?'
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved. (New Revised Standard Bible Version Online)