We have the ability (or disability) to be tempted by sin and to commit sin, which puts our will contrary to G-d’s Will. According to Jewish thought, however, this too comes from G-d. The sinful person who repents may even be dearer to G-d than they were before they sinned. G-d created all, including evil, for a purpose and HaSatan is, as well, a creation and servant of G-d’s.