Deuteronomy 4:29
28 There you will worship gods made by human hands—wood and stone that can neither see, hear, eat, nor smell. 29 But if you seek the Lord your God from there, you will find him, if, indeed, you seek him with all your heart and soul. 30 In your distress when all these things happen to you in future days, if you return to the Lord your God and obey him
Jeremiah 29:13
12 When you call out to me and come to me in prayer, I will hear your prayers. 13 When you seek me in prayer and worship, you will find me available to you. If you seek me with all your heart and soul, 14 I will make myself available to you,’ says the Lord. ‘Then I will reverse your plight and will regather you from all the nations and all the places where I have exiled you,’ says the Lord. ‘I will bring you back to the place from which I exiled you.’
Notes and References
"... The idea that God will scatter Israel among the peoples also occurs only in passages in the Deuteronomistic history that are identified as Deuteronomist 2 on other grounds. The themes of the middle unit are apostasy leading to exile, after which a return to God can lead to restoration. The wording of the middle unit is strikingly similar to a letter that Jeremiah sends to the exiles in Babylon (Deuteronomy 4:29; compare Jeremiah 29:13) ..."
Friedman, Richard Elliott The Bible with Sources Revealed: A New View Into the Five Books of Moses (p. 317) Harper San Francisco, 2005
"... According to Jeremiah 29:12–14, at the conclusion of the 70-year period, the exiles should turn towards God in prayer, in response to which He will rescue them and bring them back to the Land (The formulation of this passage shows clear Deuteronomistic language. Jeremiah 29:13 is nearly identical to Deuteronomy 4:29, and they both reflect a similar exilic setting) ..."
Segal, Michael The Chronological Conception of the Persian Period in Daniel 9 (pp. 283-303) Journal of Ancient Judaism, Vol. 2, 2011