Welcome to the trolley problem.
https://en.wikipedia.org/wiki/The_Ones_Who_Walk_Away_from_Omelas
Basically the plot of this story. It poses the issue of how much we value society over the individual, and if that is good or not. Would you want to live in a world that depended on the the torture of a single person. You then could extrapolate that out to societies in the real world, US and chattel slavery. the west and the use of sweat shop labor for cheap products, the Emirates and their use of migrants as indentured servants. Even tipped wages for servers in the USA, the gig economy, and things like medical residencies could be considered a minor version of Omelas. As humans, we often tolerate the abuse or exploitation of others for our own benefit, or even just out of ignorance and inaction.
A great story that illustrates this question really well. It is by Ursula K. Le Guin, written in 1973, if anyone is wondering.
Ursula K. Le Guin
So pissed that she is not much more famous. Earthsea is one of the great fantasy stories that people tend to forget.
It always strikes me how few female sci-fi and fantasy writers I’ve read. I’ve tried amending that mistake over the last couple of years but it’s not easy, especially when looking for books translated into more obscure languages.
It is a quick read. One of a handful of stories that I have gone back to over the decades.
https://www.lightspeedmagazine.com/fiction/the-ones-who-stay-and-fight/
Someone made a response story of sorts, figure I might as well share it here
I mean, most Christians would say yes because that’s the entire premise of the crucifixion.
This interpretation leaves out the most important part of the crucifixion story: Jesus willingly took on the world’s sins out of love. So whether or not most Christians would say yes depends on if the one person being tortured has a choice in the matter, which is unspecified in the question.
If that one innocent person agrees to it, I say yes. Otherwise, no.
Then it becomes are you willing to torture innocents to save everyone else?
Do you mean ultimate badass Talenel’Elin , Herald of War?