Jer 29: 10-14. While God will send us from Him when we continually disobey, His plans for us are good!
10 “For thus says the Lord: When seventy years are completed for Babylon, I will visit you, and I will fulfill to you my promise and bring you back to this place. 11 For I know the plans I have for you, declares the Lord, plans for welfare  and not for evil, to give you a future and a hope. 12 Then you will call upon me and come and pray to me, and I will hear you. 13 You will seek me and find me, when you seek me with all your heart. 14 I will be found by you, declares the Lord, and I will restore your fortunes and gather you from all the nations and all the places where I have driven you, declares the Lord, and I will bring you back to the place from which I sent you into exile. (ESV)