Sin is contrary to God's will.
Do you think God was ever tempted or have the capasity to sin?
Or more to the point -
Could God violate the Unversals Laws and still be God?