They ought to have known, if they did not know, after his telling them so frequently of the way he was taking through suffering, self-sacrifice, and aloneness, by spiritual processes rather than secular triumphs, by giving his life a ransom for many, by laying it down that he might take it again. (BibleHub, Pulpit Commentaries for this verse)
This is the way to where He is going.