In chapter 36 of Jeremiah there is an account of his scribe, Baruch, reading in front of all the people in the temple the prophetic message of Jeremiah. That included the message not to resist the invaders. Baruch was then summoned to take the scroll he had read from, and read it to the princes. They were fearful, telling Baruch and Jeremiah to hide before they then took the scroll to let king Jehoiakim (king of Judah) hear the prophecy.
It was winter-time, and there was a fire in the hearth. After three or four leaves of the scroll had been read out, the king took a knife, sliced those bits off and cast them into the fire. The was done to all the scroll. He then wanted Baruch and Jeremiah brought to him, but the Lord had hidden them.
Neither that chapter, nor the next one (which you say is not it) goes against the biblical admonition to trust in God to provide food while still taking action to do farm-work yourself. This is about a second threatened invasion that would finish off Jerusalem and the remaining people, and God saying how to avoid catastrophe (by not resisting the invaders). The king and the people chose to resist, and so catastrophe befell them, as God had warned it would, if they ignored the prophetic word. The people here did not trust God. They disobeyed him and took their own action, and so were finished off.