It's a warrior's code, typically a Japanese warrior code having 8 moral pillars - Justice, Courage, Mercy, Politeness, Loyalty and all.
<a href="https://acelebrationofwomen.org/2017/03/the-bushido-code-the-eight-virtues-of-the-samurai/">https://acelebrationofwomen.org/2017/03/the-bushido-code-the-eight-virtues-of-the-samurai/</a>