He's being chased by the demon lord, then they somewhat agreed to go for this "trials" because the demon lord needed his death spell for trial 4 iirc, they travel along with all the other people, then enter the first trial and went separate ways on the second one, he completed the second one...