The Gospel of Matthew was written by an eye-witness of Jesus the Christ - what He did, what He taught, the miracles He performed, the lives He transformed, and how people responded to Him. It was originally written to Jews who were eagerly looking forward to the arrival of their promised anointed Messiah.
After being with Jesus for nearly three years in which the 12 disciples heard what Jesus preached and saw the miracles He performed, Christ commissioned His disciples to go out in pairs and do likewise. But He also warned them that ultimately the day would come when they would be persecuted for no other reason than they were His disciples.
Christ's warnings about the inevitability of persecution teaches us several truths:
(1) Persecution is spiritually motivated by evil forces.
(2) It's not about you, it's about the devilish enemy's hatred of Christ and therefore His servants.
(3) Persecution is not logical, fair, or rational.
(4) What Christ expects of His disciples when they are being persecuted is courageous faithfulness - which Christ Himself modelled to them.
Christ expects nothing less than total loyalty by those who claim to be His followers. Note this passage from Matthew 10 -
Matt. 10.32 So everyone who acknowledges me before men, I also will acknowledge before my Father who is in heaven, Matt. 10.33 but whoever denies me before men, I also will deny before my Father who is in heaven. Matt. 10.34 ¶ “Do not think that I have come to bring peace to the earth. I have not come to bring peace, but a sword. Matt. 10.35 For I have come to set a man against his father, and a daughter against her mother, and a daughter-in-law against her mother-in-law.
Matt. 10.36 And a person’s enemies will be those of his own household. Matt. 10.37 Whoever loves father or mother more than me is not worthy of me, and whoever loves son or daughter more than me is not worthy of me. Matt. 10.38 And whoever does not take his cross and follow me is not worthy of me.
Matt. 10.39 Whoever finds his life will lose it, and whoever loses his life for my sake will find it.
Matt. 10.40 ¶ “Whoever receives you receives me, and whoever receives me receives him who sent me.
Matt. 10.41 The one who receives a prophet because he is a prophet will receive a prophet’s reward, and the one who receives a righteous person because he is a righteous person will receive a righteous person’s reward. Matt. 10.42 And whoever gives one of these little ones even a cup of cold water because he is a disciple, truly, I say to you, he will by no means lose his reward.”