Alasdair Macintyre said this quote

Plato in both the Gorgias and the Republic looked back to Socrates and asserted that it is better to suffer tortures on the rack than to have a soul burdened with the guilt of doing evil. Aristotle does not confront this position directly: he merely emphasizes that it is better still both to be free from having done evil and to be free from being tortured on the rack.