It seems silly to take those words and interpret them in a way that means you should not defend yourself.
The real answer is that the Bible was written by people who like it or not had agendas themselves. What was King Jame’s word, and why was it so important he had his own version of the Bible?
Christianity like most other religions has plenty of examples of righteous self-defense.
> But I say to you, Do not resist the one who is evil. But if anyone slaps you on the right cheek, turn to him the other also. And if anyone would sue you and take your tunic, let him have your cloak as well. And if anyone forces you to go one mile, go with him two miles.
So, assuming Jesus was speaking literally, the only possible interpretation I can think of is that Jesus wanted you to buy a sword, but not use it against others. Why he wanted you to buy a sword, I don't know. Maybe he had a friend blacksmith.
I am all for anyone who wants to live a Christian life in accordance with the Bible. Good luck to them. 99% of modern American protestant Christians are frankly full of shit. I sadly was one for many years until I started reading the book I was espousing.