Jeremiah 38:27

Then came all the princes unto Jeremiah, and asked him: and he told them according to all these words that the king had commanded. So they left off speaking with him; for the matter was not perceived.

Cross-reference

1 Samuel 10:16 explicitly states Saul told his uncle about the donkeys but not the kingship — mirroring Jeremiah's selective disclosure to the officials.