Read what John Gill the Calvinist and great expositor of the Holy Bible said on the passage you quoted... Like I said... It's impossible for God to lie!
Ver. 21. And there came forth a spirit,.... Not from the heavenly host on the right hand or the left, for they are pure and holy spirits, and impeccable, and cannot lie or deceive; but the evil spirit, Satan, the father of lies, the old deceiver, who came forth from his own place and his own company:
and stood before the Lord presented himself before him, as Satan did, Job 1:6,
and said, l will persuade him; or prevail upon him; evil spirits love to be employed in doing harm to men, they go about seeking whom they may devour. This could not be the spirit of Naboth, as the Jews say {q}, seeking revenge on Ahab; that was in a state of happiness, could not move from thence, and be capable of sinning.
{q} T. Bab. Sanhedrin, fol. 89. 1. & 102. 2. Targum in 2 Chron. xviii. 20.
1 Kings 22:22
Ver. 22. And the Lord said unto him, wherewith?.... What way and method did he propose, to persuade Ahab to go up to Ramoth? the Lord is introduced in this visionary narrative as asking this question, not as ignorant of the scheme of the evil spirit, but in order to bring it out, and lead on to the following account:
and he said, I will go forth, and I will be a lying spirit in the mouth of all his prophets; put them on encouraging Ahab to go up, and promising him success, as he had in former battles with the king of Syria, and which might both encourage them to give forth such a prediction, and him to believe it to be true; this proposal was quite agreeable to the character of the devil, as the father of lies:
and he said, thou shalt persuade him, and prevail also; not only make use of this artifice to persuade, but succeed also; the Lord knew that what he should suggest to the prophets, and they should deliver to Ahab, would be agreeable to his inclination, nor would he do anything in the course of his providence to hinder its taking effect:
go forth, and do so; which was giving leave to try his skill in the art of persuasion, in which he knew he would succeed, and bring on the righteous judgment of God upon Ahab; with this compare Joh 13:27.
1 Kings 22:23
Ver. 23. Now therefore behold, the Lord hath put a lying spirit in the mouths of all these thy prophets,.... That is, suffered the lying spirit to suggest a lie to them, and sent them strong delusions to believe that lie, whose minds were disposed at any rate to flatter Ahab, to whom they told it; which was the way designed to bring him to the ruin appointed for him:
and the Lord hath spoken evil concerning thee: he had decreed it in himself, declared it by Micaiah his prophet, and suffered all those steps to be taken by Satan and the false prophets, to bring him to it... Brother Glen The Primitive Baptist