Read Jeremiah 11:18-20
11:18 It was the LORD who made it known to me, and I knew; then you showed me their evil deeds.
11:19 But I was like a gentle lamb led to the slaughter. And I did not know it was against me that they devised schemes, saying, "Let us destroy the tree with its fruit, let us cut him off from the land of the living, so that his name will no longer be remembered!"
11:20 But you, O LORD of hosts, who judge righteously, who try the heart and the mind, let me see your retribution upon them, for to you I have committed my cause.
Jeremiah was not a popular prophet. He said things that people didn't want to hear and this seems to have ended in attempts on his life.
He celebrates the fact that God warned him of their plans and protected him (Vs 18). Jeremiah maintains his innocence and hands 'retribution' over to God. This passage closes with the phrase: "...for to you I have committed my cause."
"...for to you I have committed my cause."