God thought it necessary for Jesus to suffer (see also 9:11; 13:7, 10). The elders, leading priests, and teachers of religious law caused his suffering. But it was ultimately God's will (see 10:33; 11:18, 27; 14:1, 43, 53).
The death of Jesus would not be the end. Three days later, he would rise from the dead.
after three days: This has the same meaning as "on the third day" and "will be three days and three nights" (Matthew 16:21; Luke 9:22; Matthew 12:40).