This is saying that sin is a part of God's plan — if sin is a part of God's plan [that is His will] then James is wrong when he says:
(James 1:13)
No one, when tempted, should say, I am being tempted by God; for God cannot be tempted by evil and he himself tempts no one.
Awesome post!!