Devarim (Deuteronomy): Nitzavim > Ch 30
When you return to G-d, He will once again gather you from all the nations
And it will be, when all these things come upon you the blessing and the curse which I have set before you that you will consider in your heart, among all the nations where the Lord your G-d has banished you, and you will return to the Lord, your G-d, with all your heart and with all your soul, and you will listen to His voice according to all that I am commanding you this day you and your children, then, the Lord, your G-d, will bring back your exiles, and He will have mercy upon you. He will once again gather you from all the nations, where the Lord, your G-d, had dispersed you.
Even if your exiles are at the end of the heavens, the Lord, your G-d, will gather you from there, and He will take you from there. And the Lord, your G-d, will bring you to the land which your forefathers possessed, and you [too] will take possession of it, and He will do good to you, and He will make you more numerous than your forefathers. And the Lord, your G-d, will circumcise your heart and the heart of your offspring, [so that you may] love the Lord your G-d with all your heart and with all your soul, for the sake of your life. And the Lord, your G-d, will place all these curses upon your enemies and upon your adversaries, who pursued you. And you will return and listen to the voice of the Lord, and fulfill all His commandments, which I command you this day. And the Lord, your G-d, will make you abundant for good in all the work of your hands, in the fruit of your womb, in the fruit of your livestock, and in the fruit of your soil. For the Lord will once again rejoice over you for good, as He rejoiced over your forefathers, when you obey the Lord, your G-d, to observe His commandments and His statutes written in this Torah scroll, [and] when you return to the Lord, your G-d, with all your heart and with all your soul.
G-d’s commandments are in your heart
For this commandment which I command you this day, is not concealed from you, nor is it far away. It is not in heaven, that you should say, "Who will go up to heaven for us and fetch it for us, to tell [it] to us, so that we can fulfill it?" Nor is it beyond the sea, that you should say, "Who will cross to the other side of the sea for us and fetch it for us, to tell [it] to us, so that we can fulfill it?" Rather,[this] thing is very close to you; it is in your mouth and in your heart, so that you can fulfill it. Behold, I have set before you today life and good, and death and evil, inasmuch as I command you this day to love the Lord, your G-d, to walk in His ways, and to observe His commandments, His statutes, and His ordinances, so that you will live and increase, and the Lord, your G-d, will bless you in the land to which you are coming to take possession of it.
I have set before you life and death, the blessing and the curse. You shall choose life.
But if your heart deviates and you do not listen, and you will be drawn astray, and you will prostrate yourself to other deities and serve them, I declare to you this day, that you will surely perish, and that you will not live long days on the land, to which you are crossing the Jordan, to come and take possession thereof. This day, I call upon the heaven and the earth as witnesses [that I have warned] you: I have set before you life and death, the blessing and the curse. You shall choose life, so that you and your offspring will live; To love the Lord your G-d, to listen to His voice, and to cleave to Him. For that is your life and the length of your days, to dwell on the land which the Lord swore to your forefathers to Abraham, to Isaac, and to Jacob to give to them.