2 And the captain of the guard took Jeremiah, and said unto him, Jehovah thy God pronounced this evil upon this place; 3 and Jehovah hath brought it, and done according as he spake: because ye have sinned against Jehovah, and have not obeyed his voice, therefore this thing is come upon you. 4 And now, behold, I loose thee this day from the chains which are upon thy hand. If it seem good unto thee to come with me into Babylon, come, and I will look well unto thee; but if it seem ill unto thee to come with me into Babylon, forbear: behold, all the land is before thee; whither it seemeth good and right unto thee to go, thither go. 5 Now while he was not yet gone back, Go back then, [said he], to Gedaliah the son of Ahikam, the son of Shaphan, whom the king of Babylon hath made governor over the cities of Judah, and dwell with him among the people; or go wheresoever it seemeth right unto thee to go. So the captain of the guard gave him victuals and a present, and let him go.
Matthew Henry's Commentary on Jeremiah 40:2-5
Commentary on Jeremiah 40:1-6
(Read Jeremiah 40:1-6)
The captain of the guard seems to glory that he had been God's instrument to fulfil, what Jeremiah had been God's messenger to foretell. Many can see God's justice and truth with regard to others, who are heedless and blind as to themselves and their own sins. But, sooner or later, all men shall be made sensible that their sin is the cause of all their miseries. Jeremiah has leave to dispose of himself; but is advised to go to Gedaliah, governor of the land under the king of Babylon. It is doubtful whether Jeremiah acted right in this decision. But those who desire the salvation of sinners, and the good of the church, are apt to expect better times from slight appearances, and they will prefer the hope of being useful, to the most secure situations without it.