1Kgs 8:46-48

46“If they sin against you—for there is no one who does not sin—and you are angry with them and give them to an enemy, so that they are carried away captive to the land of the enemy, far off or near;47yet if they come to their senses in the land to which they have been taken captive, and repent, and plead with you in the land of their captors, saying, ‘We have sinned, and have done wrong; we have acted wickedly’;48if they repent with all their heart and soul in the land of their enemies, who took them captive, and pray to you toward their land, which you gave to their ancestors, the city that you have chosen, and the house that I have built for your name;