Why does Jesus predict to the disciples what will happen to Him? To strengthen their spirit, so that having heard about it beforehand, they would bear it courageously when it came to pass, and not be struck by its suddenness; and at the same time they were to know that He suffers of His own will. For he who foresaw the sufferings could have avoided them, and if he did not flee, it is clear that he voluntarily gives himself over to suffering. But since it was fitting to reveal His suffering only to the closest disciples, He goes ahead of everyone on the road, wishing to separate the disciples f...rom the crowd. Moreover, by going ahead of everyone and by His haste on the road, the Lord also shows that He hastens toward His suffering and does not flee from death for the sake of our salvation.
Source: Commentary on Mark