I believe if man lived the life they should be living it never would have happened. Jesus wouldn't have had to come here in the first place. So I believe Jesus knew he was going to die because he knew man, but it was man who ulitmately made it happen.