Then one night the LORD appeared to Solomon and said, “I have heard your prayer and have chosen this Temple as the place for making sacrifices.
At times I might shut up the heavens so that no rain falls, or command grasshoppers to devour your crops, or send plagues among you.
Then if my people who are called by my name will humble themselves and pray and seek my face and turn from their wicked ways, I will hear from heaven and will forgive their sins and restore their land.
My eyes will be open and my ears attentive to every prayer made in this place.
For I have chosen this Temple and set it apart to be holy—a place where my name will be honored forever. I will always watch over it, for it is dear to my heart.
“As for you, if you faithfully follow me as David your father did, obeying all my commands, decrees, and regulations,
then I will establish the throne of your dynasty. For I made this covenant with your father, David, when I said, ‘One of your descendants will always rule over Israel.’
“But if you or your descendants abandon me and disobey the decrees and commands I have given you, and if you serve and worship other gods,
then I will uproot the people from this land that I have given them. I will reject this Temple that I have made holy to honor my name. I will make it an object of mockery and ridicule among the nations.
And though this Temple is impressive now, all who pass by will be appalled. They will ask, ‘Why did the LORD do such terrible things to this land and to this Temple?’
“And the answer will be, ‘Because his people abandoned the LORD, the God of their ancestors, who brought them out of Egypt, and they worshiped other gods instead and bowed down to them. That is why he has brought all these disasters on them.’”