 Jesus revealed in his prayer recorded in John 17, 19 that he was consecrating himself to the Father as a sacrificial offering. Jesus is the Lamb of God that takes away the sin of the world, John 2, 29. He did this by choice on the cross. In some miraculous way, the centurion was given the grace to see what Jesus meant when he cried out from the cross, "'It is finished.'"