Second, the liberation of the prophet is spoken of: therefore, when the captain of the guard took Jeremiah. And he gives the reason—namely, the truthfulness of the prophet: the Lord your God spoke, by you. Is there any evil in the city which the Lord has not done? (Amos 3:6).
Source: Commentary on Jeremiah