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 I might command locusts to devour your crops, or I might 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 heal their land.
I will listen to every prayer made in this place,
for I have chosen this Temple and set it apart to be my home forever. My eyes and my heart will always be here."
"As for you, if you follow me as your father, David, did and obey all my commands, laws, and regulations,
then I will not let anyone take away your throne. This is the same promise I gave your father, David, when I said, 'You will never fail to have a successor who rules over Israel.'"
"But if you abandon me and disobey the laws and commands I have given you, and if you go and worship other gods,
then I will uproot the people of Israel from this land of mine that I have given them. I will reject this Temple that I have set apart to honor my name. I will make it a spectacle of contempt among the nations.
And though this Temple is impressive now, it will become an appalling sight to all who pass by. They will ask, 'Why has the LORD done such terrible things to his land and to his 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. That is why he brought all these disasters upon them.'"