Lev 26:39-45

39And those of you who survive shall languish in the land of your enemies because of their iniquities; also they shall languish because of the iniquities of their ancestors.40But if they confess their iniquity and the iniquity of their ancestors, in that they committed treachery against me and, moreover, that they continued hostile to me—41so that I, in turn, continued hostile to them and brought them into the land of their enemies; if then their uncircumcised heart is humbled and they make amends for their iniquity,42then will I remember my covenant with Jacob; I will remember also my covenant with Isaac and also my covenant with Abraham, and I will remember the land.43For the land shall be deserted by them, and enjoy its sabbath years by lying desolate without them, while they shall make amends for their iniquity, because they dared to spurn my ordinances, and they abhorred my statutes.44Yet for all that, when they are in the land of their enemies, I will not spurn them, or abhor them so as to destroy them utterly and break my covenant with them; for I am the Lord their God;45but I will remember in their favor the covenant with their ancestors whom I brought out of the land of Egypt in the sight of the nations, to be their God: I am the Lord.