Humanity is in the image of G-d, in that we have the ability to think, reason and understand. Humanity was created with a dual nature: an impulse to do what is right an a selfish (evil) impulse. Free will is the ability to choose which impulse to follow.