12 Yahweh appeared to Solomon by night, and said to him, “I have heard your prayer, and have chosen this place for myself for a house of sacrifice.
13 “If I shut up the sky so that there is no rain, or if I command the locust to devour the land, or if I send pestilence among my people;
14 if my people, who are called by my name, will humble themselves, pray, seek my face, and turn from their wicked ways; then I will hear from heaven, will forgive their sin, and will heal their land.
15 Now my eyes will be open my ears attentive to prayer that is made in this place.
16 For now I have chosen and made this house holy, that my name may be there forever; and my eyes and my heart will be there perpetually.
17 “As for you, if you will walk before me as David your father walked, and do according to all that I have commanded you, and will keep my statutes and my ordinances;
18 then I will establish the throne of your kingdom, according as I covenanted with David your father, saying, ‘There shall not fail you a man to be ruler in Israel.’