Jeremiah 35:15

35:15 I sent all my servants the prophets to warn you over and over again. They said, “Every one of you, stop doing the evil things you have been doing and do what is right. Do not pay allegiance to other gods and worship them. Then you can continue to live in this land that I gave to you and your ancestors.” But you did not pay any attention or listen to me.

Jeremiah 40:5

40:5 Before Jeremiah could turn to leave, the captain of the guard added, “Go back to Gedaliah, the son of Ahikam and grandson of Shaphan, whom the king of Babylon appointed to govern the towns of Judah. Go back and live with him among the people. Or go wherever else you choose.” Then the captain of the guard gave Jeremiah some food and a present and let him go.