Deuteronomy 4:29-31 NIV

29 But if from there you seek1 the LORD your God, you will find him if you look for him with all your heart2 and with all your soul.3
30 When you are in distress4 and all these things have happened to you, then in later days5 you will return6 to the LORD your God and obey him.

References for Deuteronomy 4:30

31 For the LORD your God is a merciful7 God; he will not abandon8 or destroy9 you or forget10 the covenant with your forefathers, which he confirmed to them by oath.

References for Deuteronomy 4:31