Je préfèrerais mourir plutôt que de vivre déshonoré.

The second accent in préférerais should be aigu, not grave.

I was going to agree with you, but then I came across this:

https://en.m.wiktionary.org/wiki/préférer#French