2 Chronicles 7:11-21 NLT

11 So Solomon finished the Temple of the LORD , as well as the royal palace. He completed everything he had planned to do in the construction of the Temple and the palace.
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?’