Christ offered himself as a sacrifice in order that he might remove the guilt for our sins. He did that in order that he might enable us to not do the evil things that people who do not know him do. He did this because God, who is our Father, wanted it.