2 Chronicles 7:7-18
English Standard Version
8At that time Solomon held the feast for seven days, and all Israel with him, a very great assembly, from Lebo-hamath to the Brook of Egypt.
9And on the eighth day they held a solemn assembly, for they had kept the dedication of the altar seven days and the feast seven days.
10On the twenty-third day of the seventh month he sent the people away to their homes, joyful and glad of heart for the prosperity that the Lord had granted to David and to Solomon and to Israel his people.
11Thus 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.
12Then 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.
13When 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,
14if my people who are called by my name humble 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.
15Now my eyes will be open and my ears attentive to the prayer that is made in this place.
16For 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.
17And 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,
18then I will establish your royal throne, as I covenanted with David your father, saying, ‘You shall not lack a man to rule Israel.’