1 Kings 8:33-43

8:33 “The time will come when your people Israel are defeated by an enemy because they sinned against you. If they come back to you, renew their allegiance to you, and pray for your help in this temple, 8:34 then listen from heaven, forgive the sin of your people Israel, and bring them back to the land you gave to their ancestors.

8:35 “The time will come when the skies are shut up tightly and no rain falls because your people sinned against you. When they direct their prayers toward this place, renew their allegiance to you, and turn away from their sin because you punish them, 8:36 then listen from heaven and forgive the sin of your servants, your people Israel. Certainly you will then teach them the right way to live and send rain on your land that you have given your people to possess.

8:37 “The time will come when the land suffers from a famine, a plague, blight and disease, or a locust invasion, or when their enemy lays siege to the cities of the land, or when some other type of plague or epidemic occurs. 8:38 When all your people Israel pray and ask for help, as they acknowledge their pain and spread out their hands toward this temple, 8:39 then listen from your heavenly dwelling place, forgive their sin, and act favorably toward each one based on your evaluation of his motives. (Indeed you are the only one who can correctly evaluate the motives of all people.) 8:40 Then they will obey you throughout their lifetimes as they live on the land you gave to our ancestors.

8:41 “Foreigners, who do not belong to your people Israel, will come from a distant land because of your reputation. 8:42 When they hear about your great reputation and your ability to accomplish mighty deeds, they will come and direct their prayers toward this temple. 8:43 Then listen from your heavenly dwelling place and answer all the prayers of the foreigners. Then all the nations of the earth will acknowledge your reputation, obey you like your people Israel do, and recognize that this temple I built belongs to you.