Jesus came to the world to 'save sinners'. He came with a purpose and to fulfil that, his death on the cross was to play a prominent part. Jesus knew Judas also had a very important role to play in his death. If Judas didn't kill him Jesus wouldn't die, and he would have failed in his purpose...