Let’s start by quoting the text:
15And when he had come to the king, the king said to him, “Micaiah, shall we go to Ramoth-gilead to battle, or shall we refrain?” And he answered him, “Go up and triumph; the LORD will give it into the hand of the king.” 16 But the king said to him, “How many times shall I make you swear that you speak to me nothing but the truth in the name of the LORD?” 17 And he said, “I saw all Israel scattered on the mountains, as sheep that have no shepherd. And the LORD said, ‘These have no master; let each return to his home in peace.’” 18 And the king of Israel said to Jehoshaphat, “Did I not tell you that he would not prophesy good concerning me, but evil?”
19 And Micaiah said, “Therefore hear the word of the LORD: I saw the LORD sitting on his throne, and all the host of heaven standing beside him on his right hand and on his left; 20 and the LORD said, ‘Who will entice Ahab, that he may go up and fall at Ramoth-gilead?’ And one said one thing, and another said another. 21 Then a spirit came forward and stood before the LORD, saying, ‘I will entice him.’ 22 And the LORD said to him, ‘By what means?’ And he said, ‘I will go out, and will be a lying spirit in the mouth of all his prophets.’ And he said, ‘You are to entice him, and you shall succeed; go out and do so.’ 23 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.”
24 Then Zedekiah the son of Chenaanah came near and struck Micaiah on the cheek and said, “How did the Spirit of the LORD go from me to speak to you?” 25 And Micaiah said, “Behold, you shall see on that day when you go into an inner chamber to hide yourself.” 26 And the king of Israel said, “Seize Micaiah, and take him back to Amon the governor of the city and to Joash the king’s son, 27 and say, ‘Thus says the king, “Put this fellow in prison and feed him meager rations of bread and water, until I come in peace.”‘“ 28 And Micaiah said, “If you return in peace, the LORD has not spoken by me.” And he said, “Hear, all you peoples!” (1Kings 22:13-28 ESV)
The book of Chronicles contains the same account in almost identical wording (2 Chron. 18:12-27). What minor differences in wording there are have no bearing on the theological question at hand.
First, let’s acknowledge not only that the Bible contains this report—twice—but that this is not an isolated incident. The Bible contains several examples of statements indicating that an evil, lying, or hurtful spirit was from God:
“Now the Spirit of the LORD departed from Saul, and an evil spirit from the LORD terrorized him. Saul’s servants then said to him, ‘Behold now, an evil spirit from God is terrorizing you. Let our lord now command your servants who are before you. Let them seek a man who is a skillful player on the harp; and it shall come about when the evil spirit from God is on you, that he shall play the harp with his hand, and you will be well.’ …So it came about whenever the evil spirit from God came to Saul, David would take the harp and play it with his hand; and Saul would be refreshed and be well, and the evil spirit would depart from him” (1 Sam. 16:14-16, 23 NASB).
“Now it came about on the next day that an evil spirit from God came mightily upon Saul, and he raved in the midst of the house, while David was playing the harp with his hand, as usual; and a spear was in Saul's hand” (1 Sam. 18:10 NASB).
“Now there was an evil spirit from the LORD on Saul as he was sitting in his house with his spear in his hand, and David was playing the harp with his hand” (1Sam. 19:9 NASB).
“So the servants of King Hezekiah came to Isaiah. Isaiah said to them, ‘Thus you shall say to your master, “Thus says the LORD, ‘Do not be afraid because of the words that you have heard, with which the servants of the king of Assyria have blasphemed Me. Behold, I will put a spirit in him so that he will hear a rumor and return to his own land. And I will make him fall by the sword in his own land’”’” (2 Kings 19:5-7 NASB).
“The LORD has mixed within her a spirit of distortion; They have led Egypt astray in all that it does, As a drunken man staggers in his vomit” (Isa 19:14 NASB).
“Behold, I will put a spirit in him so that he will hear a rumor and return to his own land. And I will make him fall by the sword in his own land” (Isa 37:7 NASB).
Whatever we make of these passages, it is clear that we are dealing with more than an isolated text that might have been miscopied or garbled. The Old Testament, especially in the so-called Deuteronomic history (Joshua through 2 Kings), contains several statements that fall within this same general category of references to evil or lying spirits that are said to have been in some sense from God.
Second, we should note that this same history contains at least one statement that that denies that God lies:
Notice that this statement comes in the same context as the report in chapter 16 that the Spirit of the LORD left Saul and was replaced by an evil spirit “from” the LORD. If we are trying to understand what the book of Samuel is saying, we need to take both types of statements into account. It would be ad hoc to assume they represent different sources. It would be a form of lazy reading to assume without further ado that they are unthinkingly contradictory. Whoever put the book together so that these statements in 15:29 and 16:14 stand so close together did not see a problem.
Third, if we read through all of these texts in their contexts, we will see consistently that the point being made is that God sovereignly works things out to bring judgment on evildoers among his people. For example, half of the passages quoted above pertain to God’s judgment on Saul, who had turned out to be a bad king. The evil or lying spirits lead people to do bad things, and the consequence is that those people or others hurt by them get what they deserve. In none of these passages does God have an evil or deceiving spirit lead righteous, humble, or sincere people into a trap.
Fourth, in the account of Micaiah’s prophecy, it is made clear that God is not trying to hide anything from Ahab. After all, Micaiah tells Ahab about the lying spirit and warns him of the consequences of listening to it! If God was trying to deceive Ahab, why would he reveal this fact to Ahab?
Fifth, in the broader context of these historical books, something bad or harmful is said to be “from the LORD” if he uses it to accomplish his purposes. For example, the history tells us that Rehoboam’s unwise decision not to lighten the people’s burden, as they had asked, was “from the LORD, that He might establish His word, which the LORD spoke through Ahijah the Shilonite to Jeroboam the son of Nebat” (1 Kings 12:15 NASB). That is, in God’s sovereign superintendence over the history of Israel, it served his purposes that Rehoboam provoked the people of Israel to rebellion as God’s judicial punishment against Solomon for his idolatry (1 Kings 11:9-13, 29-39).
Sixth, the story Micaiah told to Ahab distinguishes between God and the lying spirit. God does not tell the lying spirit what to say, and therefore God does not “inspire” the lie. This is the key error in your use of this passage, since you asserted that it teaches that God inspires lies. Micaiah’s story explicitly says that the lying spirit came up with the lie (1 Kings 22:21-22a), not God. What God does, according to this passage, is to give the lying spirit permission to do his thing: “You are to entice him, and you shall succeed; go out and do so” (v. 22b).
Seventh, this statement by the LORD in 1 Kings 22:22 is no different in principle from the Lord Jesus Christ saying to Judas Iscariot, “What you do, do quickly” (John 13:27). According to Jesus in Matthew and Mark, it had been written (in Scripture) that this was how Jesus was to be arrested, but Judas was still accountable and responsible for what he did (Matt. 26:24; Mark 14:21); Luke makes Jesus’ point clear by saying that it had been “determined”—by God, of course—that this would happen (Luke 22:22).
Eighth, I would think a Mormon would want to consider what his own religious leaders have taught about this passage in 1 Kings 22. Robert Hale, speaking in general conference just 15 years ago, stated without qualification that Micaiah had spoken God’s word:
Jehoshaphat convinced Ahab to seek the word of the prophet Micaiah. The messenger who was sent to bring Micaiah before the kings cautioned Micaiah to tell Ahab only what he wanted to hear. ‘And Micaiah said, As the Lord liveth, what the Lord saith unto me, that will I speak’ (1 Kgs. 22:14; emphasis added). Micaiah told Ahab that Israel would not return victorious and that Ahab would be killed.
Against the counsel of the prophet, Ahab went to battle, and lost his life, and Israel was defeated.
Micaiah, as all prophets before him and all who have followed, spoke the word of God with plainness and truth and let the consequence follow.”
Elder Robert D. Hales, “Hear the Prophet’s Voice and Obey,” Ensign (CR), May 1995, 15.
In this instance, I think Elder Hales got it right. I see no problem with what 1 Kings 22 teaches about God. He rules as the sovereign Lord over his creation, and what happens unfolds according to his purposes; but God does not himself do evil, does not himself lie or inspire falsehood, even though he uses such things for his glory.