You’re misconstruing the argument. Creating something with the capacity for choice is not equivalent to the creation of the consequence of that choice. Had nothing chosen to disobey God, then evil would not exist.
James 1:14,15 explains the steps that lead to sin and death. And It doesn’t involve blaming God.