Because we have sinned against God there needs to be proportionate justice. We are unable to take the punishment ourselves so God took the punishment himself through his Son Jesus Christ.