かくご覚悟kakugo
1.
The act of mentally preparing oneself to face difficult or adverse situations, accepting the potential consequences without displaying regret or shame.
2.
A steadfast determination to confront challenges head-on, accepting whatever outcomes may arise, often regardless of the personal cost.
3.
The state of having come to terms with an undesirable reality, embodying a mindset of acceptance and willingness to proceed despite foreseen dangers or hardships.
Example:
兵士たちは故国のために死ぬ覚悟が出来ていた。