This section is the first cycle (a repeated pattern) that includes three parts:
Jesus predicts his suffering (8:31),
the disciples respond with misunderstanding (8:32–33), and
Jesus teaches about discipleship (what it means to follow him; 8:34–9:1).
Compare with 9:30–10:31.