40:1 Ramah - Ramah was a city in the tribe of Benjamin near Gibeon. Babylon - Jeremiah was by mistake and expressly contrary to the king's orders carried amongst the other prisoners; probably the captain of the guard at that place called over his prisoners, and among them found the prophet contrary to his expectation.
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.