Upvote:1
Crafty is not necessarily bad.
Behold, I send you forth as sheep in the midst of wolves: be ye therefore wise as serpents, and harmless as doves. Matthew 10:16 (KJV)
It is the use of God-given talents against God's will that makes it sin.
God also has perfect foreknowledge, so He did know exactly what would occur.