While he was still speaking, there came a crowd, and the man called Judas, one of the twelve, was leading them. He drew near to Jesus to kiss him, but Jesus said to him, "Judas, would you betray the Son of Man with a kiss?" And when those who were around him saw what would follow, they said, "Lord, shall we strike with the sword?" And one of them struck the servant of the high priest and cut off his right ear. But Jesus said, "No more of this!" And he touched his ear and healed him. Then Jesus said to the chief priests and officers of the temple and elders, who had come out against him, "Have you come out as against a robber, with swords and clubs? When I was with you day after day in the temple, you did not lay hands on me. But this is your hour, and the power of darkness." (Luke 22:47-53 ESV)
God knows the sting of betrayal. Though he was already aware the day was coming, I cannot imagine that lessened the blow much.
Then Satan entered into Judas called Iscariot, who was of the number of the twelve. He went away and conferred with the chief priests and officers how he might betray [Jesus] to them. And they were glad, and agreed to give him money. So he consented and sought an opportunity to betray him to them in the absence of a crowd....[At the Passover dinner Jesus says,]But behold, the hand of him who betrays me is with me on the table. For the Son of Man goes as it has been determined, but woe to that man by whom he is betrayed!" And they began to question one another, which of them it could be who was going to do this. (Luke 22:3-6, 21-23 ESV. My note added.)
Here was a man who was one of the closest to Jesus...one of the twelve! Someone who looked the part and acted the roll but in his heart, was not. Have you ever come across a person like this? One who talks the talk and appears to walk the walk (no matter what the position i.e. friend, spouse, parent, boss, son/daughter, business partner, roommate, teacher, etc.) yet is not who he/she claims?
We are not without a God that has experienced such things, himself..."the power of darkness"! Judas meant it for evil but God used it for good, just as He does in our lives, still, today!
As for you, you meant evil against me, but God meant it for good,... (Genesis 50:20 ESV)