2 Chronicles 6:29-39

29 When any of these things happens, the people will become truly sorry. If your people spread their hands in prayer toward this Temple,
30 then hear their prayers from your home in heaven. Forgive and treat each person as he should be treated because you know what is in a person's heart. Only you know what is in people's hearts.
31 Then the people will respect and obey you as long as they live in this land you gave our ancestors.
32 "People who are not Israelites, foreigners from other lands, will hear about your greatness and power. They will come from far away to pray at this Temple.
33 Then hear from your home in heaven, and do whatever they ask you. Then people everywhere will know you and respect you, just as your people Israel do. Then everyone will know that I built this Temple as a place to worship you.
34 "When your people go out to fight their enemies along some road on which you send them, your people will pray to you, facing this city which you have chosen and the Temple I have built for you.
35 Then hear in heaven their prayers, and do what is right.
36 "Everyone sins, so your people will also sin against you. You will become angry with them and will hand them over to their enemies. Their enemies will capture them and take them away to a country far or near.
37 Your people will be sorry for their sins when they are held as prisoners in another country. They will be sorry and pray to you in the land where they are held as prisoners, saying, 'We have sinned. We have done wrong and acted wickedly.'
38 They will truly turn back to you in the land where they are captives. They will pray, facing this land you gave their ancestors, this city you have chosen, and the Temple I have built for you.
39 Then hear their prayers from your home in heaven and do what is right. Forgive your people who have sinned against you.
Scripture taken from the New Century Version. Copyright © 1987, 1988, 1991 by Thomas Nelson, Inc. Used by permission. All rights reserved.