"It was out of envy that they handed Jesus over" (Mark 15:10)
The will of the Father is that we have free will. No father wants their only son to be nailed to a cross, but the Father accepts that is the price of gifting free will.
Pilate’s thoughts:
Mark 15:9-10
9 Pilate answered, Do you want me to release to you the king of the Jews?
10 For he knew that it was out of envy that the chief priests had handed him over.