Not sure if this was Jerimiah or another prophet (or I may be making it up entirely). The king was preparing to fight the invasion, and was deriveddelivered a message from the lord not to fight with arms. The king responds with something emotional along the lines of you would have the city/nation destroyed.
To be clear, it was not Jeremiah 38:4
Then the officials said to the king, “This man ought to die, for he is discouraging the warriors who remain in this city, as well as all the people, by speaking such words to them; this man is not seeking the well-being of these people, but their ruin.
Probably no anything from Isaiah either.