The characters literally assemble into “would rather die, not bend/submit”. This is a classic Chinese grammatical structure `宁 A 不 B (nìng A bù B)`, meaning “would rather do A than do B”, which emphasizes a resolute choice.
This is a formal and powerful idiom. You will not hear it used in casual, everyday conversation about trivial matters.