At that time Solomon held the feast for seven days, and all Israel with him, a very great congregation, from the entrance of Hamath to the Brook of Egypt.
And 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.
On the twenty-third day of the seventh month he sent the people away to their homes, joyful and glad of heart for the goodness that the LORD had shown to David and to Solomon and to Israel his people.
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, 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.
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 that my name may be there for ever; my eyes and my heart will be there for all time.
And as for you, if you walk before me, as David your father 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 covenanted with David your father, saying, 'There shall not fail you a man to rule Israel.'
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the 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. (Revised Standard Version - Holy Bible)