It is better to die well than to live ill. […] He who fears death loses the joy of life. Above all else truth triumphs. He conquers who dies because no adversity can hurt the one over whom iniquity holds not sway.

[Melius est bene mori, quam male vivere […] Qui mortem metuit, amittit gaudia vitae; super omnia vincit veritas, vincit, qui occiditur, quia nulla ei nocet adversitas, si nulla ei dominatur iniquitas.]

jan hus
Jan Hus (c. 1370-1415) Czech priest, theologian, philosopher, Church reformer [John Huss, etc.]
Letter to Christian of Prachaticz (>1413-04) [tr. Schaff (1915)]
    (Source)

Written while in exile from Prague. "Truth triumphs" was adopted as a motto by Hussite fighters, and is inscribed (in Czech, "Pravda vítězí") the banner of the President of the Czechia.

(Source (Latin)). Alternate translation:

It is better to die well than to live badly. [...] He that fears death, loses the joys of life. Above all else, truth is conqueror. He conquers, who is slain: for no adversity hurts him if no iniquity hath dominion over him.
[tr. Pope (1904)]

The following translation is often mis-cited to Schaff; an examination of Schaff's book shows the above translation instead. I cannot find an original for this translation.

It is better to die well, than to live wrongly [...] Who is afraid of death loses the joy of life; truth prevails all, prevails who is killed, because no adversity can harm him, who is not dominated by injustice.