Deuteronomy 30:2-10

30:2 Then if you and your descendants turn to the Lord your God and obey him with your whole mind and being just as I am commanding you today, 30:3 the Lord your God will reverse your captivity and have pity on you. He will turn and gather you from all the peoples among whom he has scattered you. 30:4 Even if your exiles are in the most distant land, from there the Lord your God will gather you and bring you back. 30:5 Then he will bring you to the land your ancestors possessed and you also will possess it; he will do better for you and multiply you more than he did your ancestors. 30:6 The Lord your God will also cleanse your heart and the hearts of your descendants so that you may love him with all your mind and being and so that you may live. 30:7 Then the Lord your God will put all these curses on your enemies, on those who hate you and persecute you. 30:8 You will return and obey the Lord, keeping all his commandments I am giving you today. 30:9 The Lord your God will make the labor of your hands abundantly successful and multiply your children, the offspring of your cattle, and the produce of your soil. For the Lord your God will once more rejoice over you to make you prosperous just as he rejoiced over your ancestors, 30:10 if you obey the Lord your God and keep his commandments and statutes that are written in this scroll of the law. But you must turn to him with your whole mind and being.