Jesus encountered opposition and hostility unto death for manifesting God’s character to the world and upholding truth and righteousness. He wished to prepare His disciples to prepare for the same. The potential is always there; we must always be ready to bear witness to Jesus in word and life even unto death.
“If the world hateth you, ye know that it hath hated me before it hated you. If ye were of the world, the world would love its own: but because ye are not of the world, but I chose you out of the world, therefore the world hateth you. Remember the word that I said unto you, A servant is not greater than his lord. If they persecuted me, they will also persecute you; if they kept my word, they will keep yours also. But all these things will they do unto you for my name’s sake, because they know not him that sent me. If I had not come and spoken unto them, they had not had sin: but now they have no excuse for their sin. He that hateth me hateth my Father also. If I had not done among them the works which none other did, they had not had sin: but now have they both seen and hated both me and my Father. But this cometh to pass, that the word may be fulfilled that is written in their law, ‘They hated me without a cause.’
But when the Comforter is come, whom I will send unto you from the Father, even the Spirit of truth, which proceedeth from the Father, he shall bear witness of me: and ye also bear witness, because ye have been with me from the beginning.
These things have I spoken unto you, that ye should not be caused to stumble. They shall put you out of the synagogues: yea, the hour cometh, that whosoever killeth you shall think that he offereth service unto God. And these things will they do, because they have not known the Father, nor me” (John 15:18-16:3).