The reading from Hebrews also expresses perseverance. The task is not easy, but we have an example in Jesus. He endured pain, ignored shame, and now sits at the right hand of God.
Therefore, since we are surrounded by so great a cloud of witnesses, let us also lay aside every weight and the sin that clings so closely, and let us run with perseverance the race that is set before us, looking to Jesus the pioneer and perfecter of our faith, who for the sake of the joy that wa set before him endured the cross, disregarding its shame, and has taken his seat at the right hand of the throne of God. consider him who endured such hostility aainst himself from sinners, so that you may not grow wear or lose heart.
Jesus knows about the upcoming betrayal and knows the identity of the one who is to betray him. The others don't seem to have a clue. Jesus knows and he allows the betrayal to take place. Even with difficulties, God's work is to be done, God is to be made visible to the world.