This hymn is often linked to 'O Haupt voll Blut und Wunden', because of the same tune they share. But it isn't a Passion hymn. Christoph Knoll wrote the text during a plague in Germany in 1599. It's about the desire for a blessed death, escaping earthly trials and misery.
Although not a Passion hymn, the text refers often to Jesus' suffering, for example:
"Du hast mich ja erlöset
von Sünd, Tod, Teufel Höll;
es hat dein Blut gekostet,
drauf ich mein Hoffnung stell."