Deuteronomy 30:1-8

1 `And it hath been, when all these things come upon thee, the blessing and the reviling, which I have set before thee, and thou hast brought [them] back unto thy heart, among all the nations whither Jehovah thy God hath driven thee away,
2 and hast turned back unto Jehovah thy God, and hearkened to His voice, according to all that I am commanding thee to-day, thou and thy sons, with all thy heart, and with all thy soul --
3 then hath Jehovah thy God turned back [to] thy captivity, and pitied thee, yea, He hath turned back and gathered thee out of all the peoples whither Jehovah thy God hath scattered thee.
4 `If thine outcast is in the extremity of the heavens, thence doth Jehovah thy God gather thee, and thence He doth take thee;
5 and Jehovah thy God hath brought thee in unto the land which thy fathers have possessed, and thou hast inherited it, and He hath done thee good, and multiplied thee above thy fathers.
6 `And Jehovah thy God hath circumcised thy heart, and the heart of thy seed, to love Jehovah thy God with all thy heart, and with all thy soul, for the sake of thy life;
7 and Jehovah thy God hath put all this oath on thine enemies, and on those hating thee, who have pursued thee.
8 `And thou dost turn back, and hast hearkened to the voice of Jehovah, and hast done all His commands which I am commanding thee to-day;
Young's Literal Translation is in the public domain.