Leviticus 26:27-42
But if, despite this, you disobey me, and continue hostile to me, I will continue hostile to you in fury; I in turn will punish you myself sevenfold for your sins. You shall eat the flesh of your sons, and you shall eat the flesh of your daughters. I will destroy your high places and cut down your incense altars; I will heap your carcasses on the carcasses of your idols. I will abhor you. I will lay your cities waste, will make your sanctuaries desolate, and I will not smell your pleasing odors. I will devastate the land, so that your enemies who come to settle in it shall be appalled at it. And you I will scatter among the nations, and I will unsheathe the sword against you; your land shall be a desolation, and your cities a waste.
Then the land shall enjoy its sabbath years as long as it lies desolate, while you are in the land of your enemies; then the land shall rest, and enjoy its sabbath years. As long as it lies desolate, it shall have the rest it did not have on your sabbaths when you were living on it. And as for those of you who survive, I will send faintness into their hearts in the lands of their enemies; the sound of a driven leaf shall put them to flight, and they shall flee as one flees from the sword, and they shall fall though no one pursues. They shall stumble over one another, as if to escape a sword, though no one pursues; and you shall have no power to stand against your enemies. You shall perish among the nations, and the land of your enemies shall devour you. And 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.
But 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—so 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, then 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.