Terry Pratchett said this quote

And now I demand that you do what the ignorant might feel is the easier thing. You must refrain from dying in battle. Revenge is not redress. Revenge is a wheel, and it turns backwards. The dead are not your masters.