God appeared to Solomon that very night and said, "I accept your prayer; yes, I have chosen this place as a temple for sacrifice, a house of worship.
If I ever shut off the supply of rain from the skies or order the locusts to eat the crops or send a plague on my people,
and my people, my God-defined people, respond by humbling themselves, praying, seeking my presence, and turning their backs on their wicked lives, I'll be there ready for you: I'll listen from heaven, forgive their sins, and restore their land to health.
From now on I'm alert day and night to the prayers offered at this place.
Believe me, I've chosen and sanctified this Temple that you have built: My Name is stamped on it forever; my eyes are on it and my heart in it always.
As for you, if you live in my presence as your father David lived, pure in heart and action, living the life I've set out for you, attentively obedient to my guidance and judgments,
then I'll back your kingly rule over Israel - make it a sure thing on a sure foundation. The same covenant guarantee I gave to David your father I'm giving to you, namely, 'You can count on always having a descendant on Israel's throne.'
"But if you or your sons betray me, ignoring my guidance and judgments, taking up with alien gods by serving and worshiping them,
then the guarantee is off: I'll wipe Israel right off the map and repudiate this Temple I've just sanctified to honor my Name. And Israel will be nothing but a bad joke among the peoples of the world.
And this Temple, splendid as it now is, will become an object of contempt; tourists will shake their heads, saying, 'What happened here? What's the story behind these ruins?'
Then they'll be told, 'The people who used to live here betrayed their God, the very God who rescued their ancestors from Egypt; they took up with alien gods, worshiping and serving them. That's what's behind this God-visited devastation.'"