If God cannot tempt anyone, what is the meaning of the following scriptures? In light of James 1:13, I would like to know the meaning of the remaining scriptures quoted below. 

James 1:13


  Let no man say when he is tempted, I am tempted of God: for God cannot be tempted with evil, neither tempteth he any man.


1 Kings 22:21-23


  Then a spirit came forward and stood before the LORD and said, 'I will entice him.'"The LORD said to him, 'How?' And he said, 'I will go out and be a deceiving spirit in the mouth of all his prophets.' Then He said, 'You are to entice him and also prevail. Go and do so.' "Now therefore, behold, the LORD has put a deceiving spirit in the mouth of all these your prophets; and the LORD has proclaimed disaster against you."…


2 Thessalonians 2:11


  For this reason God sends them a powerful delusion so that they will believe the lie


Judges 9:23


  God stirred up animosity between Abimelek and the citizens of Shechem so that they acted treacherously against Abimelek.


1 Samuel 16:14


  Now the Spirit of the LORD had departed from Saul, and an evil spirit from the LORD tormented him.
Many people do not realize that believers and non-believers alike receive a default protection from God. They have a "hedge" around them similar to the hedge described as around Job. If it were not so, Satan and his evil spirits would do be able to do as they please.


  "Have you not put a hedge around him and his household and everything he has?" (Job 1:10)


However, God will allow us to be tempted: To the faithful, temptations are allowed in the form of trials in order to bring to surface our sins so that we can then, by faith, overcome them. To the unfaithful, temptations are allowed because they seek it out purposely in their own presumption, and eventually when mercy is played out, God allows them to be exposed to an over-mastering temptation from Satan.

So in this context, it is not God who tempts, but God who allows.  Satan and his demons are the tempters, and tempts us by bringing to surface the natural sinful inclinations already present in our hearts.

When Scripture describes "an evil spirit from God", or "God stirred up animosity", or sending forth "strong delusion" or "a deceiving spirit", this must be read in context as God allowing it. 

A clear example of things being attributed to God when in fact it is Him allowing it, is found in Job. It is described by a messenger that "The fire of God fell from the heavens and burned up the sheep and the servants" (Job 1:16). However, from earlier in the scripture, we know that it was Satan who did this and it was merely allowed by God:


  The Lord said to Satan, "Very well, then, everything he has is in your power, but on the man himself do not lay a finger." (Job 1:12)


Deeper spiritual understanding is necessary to understand the reason of God's actions in these circumstances. Many times, it is a judgement where God has withdrawn His mercy because the person did not repent. Other times, as in the case of Job, it was necessary. After all, did Job not repent in the end? Through this trial he realized something he otherwise would not have.