then hear from heaven, your dwelling place. Forgive and act; deal with everyone according to all they do, since you know their hearts (for you alone know every human heart),
so that they will fear you all the time they live in the land you gave our ancestors.
“As for the foreigner who does not belong to your people Israel but has come from a distant land because of your name—
for they will hear of your great name and your mighty hand and your outstretched arm—when they come and pray toward this temple,
then hear from heaven, your dwelling place. Do whatever the foreigner asks of you, so that all the peoples of the earth may know your name and fear you, as do your own people Israel, and may know that this house I have built bears your Name.
“When your people go to war against their enemies, wherever you send them, and when they pray to the LORD toward the city you have chosen and the temple I have built for your Name,
then hear from heaven their prayer and their plea, and uphold their cause.
“When they sin against you—for there is no one who does not sin—and you become angry with them and give them over to their enemies, who take them captive to their own lands, far away or near;
and if they have a change of heart in the land where they are held captive, and repent and plead with you in the land of their captors and say, ‘We have sinned, we have done wrong, we have acted wickedly’;
and if they turn back to you with all their heart and soul in the land of their enemies who took them captive, and pray to you toward the land you gave their ancestors, toward the city you have chosen and the temple I have built for your Name;
then from heaven, your dwelling place, hear their prayer and their plea, and uphold their cause.