Jesus knew that Judas would betray him before Judas knew that he would betray him.
Also, Judas is vilified for doing what God made him do. Seems harsh. And 20 pieces of silver is 20 pieces of silver.
He got his 10 pieces of silver, fair and square. What would you even spend 5 pieces of silver on back then?
And Jesus has the audacity to say
Woe to that one by whom the Son of Man is betrayed! It would have been better for that one not to have been born.
Guess what, someone had to betray you for the story to go forward
Jesus was basically calling bullshit on the scripted event that triggers the final cut scene where he loses regardless of how well he prepped.