2 Chronicles 6:36-39
6:36 “The time will come when your people will sin against you (for there is no one who is sinless!) and you will be angry at them and deliver them over to their enemies, who will take them as prisoners to their land, whether far away or close by.
6:37 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!’
6:38 When they return to you with all their heart and being in the land where they are held prisoner and direct their prayers toward the land you gave to their ancestors, your chosen city, and the temple I built for your honor,
6:39 then listen from your heavenly dwelling place to their prayers for help, vindicate them, and forgive your sinful people.