“Then you will be handed over to be persecuted and put to death, and you will be hated by all nations because of me” (Matthew 24:9).

We read texts like this as a metaphor, a parable. We have a hard time reading this text literally.
The reality is that for all of Christian history, this verse has been literal for many. Not only in times gone by, but for many today.
The following is taken from https://bibleinoneyear.org/en/classic/160/.
Stay Loyal
In 2007, a group of twenty-three South Korean missionaries were captured by the Taliban in Afghanistan. They were terrified. The Taliban separated the group, isolated them and confiscated their possessions.
One of the Korean women managed to hold on to her Bible. She ripped it into twenty-three pieces and secretly gave each of them a portion so that wherever they were, each person could read a part of Scripture when no one was watching.
The group knew that the Taliban had decided to kill them, one at a time. One by one the missionaries surrendered their lives again to Jesus saying, “Lord, if you want me to die for your sake I’ll do it.”
Then the pastor said, “I’ve talked to the Taliban because they are going to start killing us and I’ve told their leaders that if anyone dies, I die first because I am your pastor.”
Another said, “No, because I also am a pastor and I am your elder, I die first.”
Then the pastor came back and said, “You are not ordained, I have been ordained, I die first.”
And sure enough, he died first. Two more were killed before the rest were eventually rescued.
They had demonstrated extraordinary loyalty to God and to each other.
The South Korean missionaries were following in the footsteps of the apostles who showed extraordinary loyalty.
Loyalty is a combination of love and faithfulness. It is a quality often lacking in our society today. Disloyalty destroys families, churches, businesses, political parties and even nations.
Bibleinoneyear.org