Yes. Jeremiah is prophesying God’s judgment on God’s people for their idolatry, for not trusting and following Yahweh.