Judas was just following God's plan -- he was doing God's will whether he knew it or not.
How do you know it was God's will? Did you ask him?