Then the Lord appeared to Solomon at night and said to him: I have heard your prayer and have chosen this place for Myself as a temple of sacrifice.
If I close the sky so there is no rain, or if I command the grasshopper to consume the land, or if I send pestilence on My people,
and My people who are called by My name humble themselves, pray and seek My face, and turn from their evil ways, then I will hear from heaven, forgive their sin, and heal their land.
My eyes will now be open and My ears attentive to prayer from this place.
And I have now chosen and consecrated this temple so that My name may be there forever; My eyes and My heart will be there at all times.
As for you, if you walk before Me as your father David walked, doing everything I have commanded you, and if you keep My statutes and ordinances,
I will establish your royal throne, as I promised your father David: You will never fail to have a man on the throne of Israel.
However, if you turn away and abandon My statutes and My commands that I have set before you and if you go and serve other gods and worship them,
then I will uproot Israel from the soil that I gave them, and this temple that I have sanctified for My name I will banish from My presence; I will make it an object of scorn and ridicule among all the peoples.
As for this temple, which was exalted, every passerby will be appalled and will say: Why did the Lord do this to this land and this temple?
Then they will say: Because they abandoned the Lord God of their ancestors who brought them out of the land of Egypt. They clung to other gods and worshiped and served them. Because of this, He brought all this ruin on them.a