As we discussed earlier in the thread, James speaks about our tests and trials, and how we should consider it all joy when we face trials of many kinds, because we know that the trying of our faith works patience in us.
However, James doesn't stop there. If you read on, he says this;
James 1:13-17 (AMP)
Let no one say when he is tempted, I am tempted from God; for God is incapable of being tempted by [what is] evil and He Himself tempts no one. But every person is tempted when he is drawn away, enticed and baited by his own evil desire (lust, passions). Then the evil desire, when it has conceived, gives birth to sin, and sin, when it is fully matured, brings forth death. Do not be misled, my beloved brethren. Every good gift and every perfect (free, large, full) gift is from above; it comes down from the Father of all [that gives] light, in [the shining of] Whom there can be no variation [rising or setting] or shadow cast by His turning [as in an eclipse].
Take a look at what James says brings on our trials. It ain't God. It's when we are "drawn away", "enticed and baited" by... God? No. Satan? No. By our own evil desires.
Then James goes on to say
DO NOT BE MISLED. Every
GOOD (there's that word again) and
PERFECT gift is from God. Other translations say that He does not change like shifting shadows.
Why do you suppose James stops and talks about the goodness of God and how He gives good and perfect gifts, and how He does not change like shifting shadows, RIGHT AFTER he talked about how we should count it all joy when we face trials of many kinds? I believe it is because he wants to make clear that God isn't the one tempting and trying us.
So I would repeat to you the words of James,
"Do not err, my beloved brethren. Every good gift and every perfect gift is from above, and cometh down from the Father of lights, with whom is no variableness, neither shadow of turning. (KJV)"