Short answer: No. God never says anything like: "I am not God." Or, "You are not sinful." Or, "Christ is not a great Savior." Or, "If you believe in Christ, you will not be saved." Or, "It is foolish to follow my counsel." Or, "My word is unreliable."
But God does ordain that lying happen as part of his judgment on the guilty. That is why the question comes up.
- The prophet Micaiah stood against all the prophets of Ahab and said that the king would fall in battle. To explain why all the other prophets were saying the opposite, Micaiah says, “Now therefore behold, the Lord has put a lying spirit in the mouth of all these your prophets; the Lord has declared disaster for you” (1 Kings 22:23).
- Similarly, God says he will punish those who try to use prophets to buttress their sin. In that situation he says, “If the prophet is deceived and speaks a word, I, the Lord, have deceived that prophet, and I will stretch out my hand against him and will destroy him from the midst of my people Israel. And they shall bear their punishment—the punishment of the prophet and the punishment of the inquirer shall be alike” (Ezekiel 14:9-10).
- And at the end of this age, God will ordain a “strong delusion” as part of the punishment for those who “refused to love the truth.” “The coming of the lawless one is by the activity of Satan with all power and false signs and wonders, and with all wicked deception for those who are perishing, because they refused to love the truth and so be saved. Therefore God sends them a strong delusion, so that they may believe what is false, in order that all may be condemned who did not believe the truth but had pleasure in unrighteousness” (2 Thessalonians 2:9-12).
When we say that God never lies, but ordains that lying happen, we do not mean that he approves of lying or that his law permits lying. We mean that God governs all things in the universe, including the sins of sinful men. Sin does not cease to be sin because God governs it and guides it for the good of his people and the glory of his name.
That is what he did in the sin of Joseph’s deceptive sale into Egypt—and Judas’ deceptive kiss of betrayal. The one led to the greatest act of salvation in the Old Testament (the Exodus from Egypt), and the other led to the greatest act of salvation in history (the death of Christ for our sins).
Problems arise when we presume to understand God based on our own concept of time and space. We can't. We won't- ever. It’s futility given the size of our brains. There's just no use in trying to explain the unexplainable and in doing so we become guilty of answering back to a God who is (from our vantage point) largely unknowable in his methodology.(Romans9:20). We are to know His character and attributes and ultimately leave the answering of how He does it – up to him. (See Job).
God operates in a realm far above the knowable of how he coordinates our sin to produce ultimate good: he is capable of supplying free will to each of us, with the culpability resting squarely on our shoulders without Him even entering the fray of it. However, because He is not limited to confines of time and space as we, He is able to ordain and maintain total sovereignty.