Zedekiah imprisoned him because Jeremiah prophesied that Jerusalem and Zedekiah would be captured by the Babylonians.