God created you perfectly but that doesn't mean you are not vulnerable to sin. This intended "weakness" in design was necessary due to free will that was given to us as a great privilege. Unfortunately everyone of us (except Jesus) has fallen, more or less, into sin.
If we say that we have no sin, we deceive ourselves, and the truth is not in us. -- 1 John 1:8