1 Kings 8:36-50

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.

8:44 “When you direct your people to march out and fight their enemies, and they direct their prayers to the Lord toward his chosen city and this temple I built for your honor, 8:45 then listen from heaven to their prayers for help and vindicate them.

8:46 “The time will come when your people will sin against you (for there is no one who is sinless!) and you will be angry with them and deliver them over to their enemies, who will take them as prisoners to their own land, whether far away or close by. 8:47 When your people come to their senses in the land where they are held prisoner, they will repent and beg for your mercy in the land of their imprisonment, admitting, ‘We have sinned and gone astray; we have done evil.’ 8:48 When they return to you with all their heart and being in the land where they are held prisoner, and direct their prayers to you toward the land you gave to their ancestors, your chosen city, and the temple I built for your honor, 8:49 then listen from your heavenly dwelling place to their prayers for help and vindicate them. 8:50 Forgive all the rebellious acts of your sinful people and cause their captors to have mercy on them.