12 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.
13 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.
14 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.
15 My eyes will be open and my ears attentive to every prayer made in this place.
16 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.
17 “As for you, if you faithfully follow me as David your father did, obeying all my commands, decrees, and regulations,
18 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.’
19 “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,
20 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.
21 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?’
22 “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.’”