Bhagavad Gita 2.32
Chapter 2, Verse 32
यदृच्छया चोपपन्नं स्वर्गद्वारमपावृतम्। सुखिनः क्षत्रियाः पार्थ लभन्ते युद्धमीदृशम् ॥
yadṛcchayā copapannaṃ swargadvāram apāvṛtam sukhinaḥ kṣatriyāḥ pārtha labhante yuddham īdṛśam || 2.32 ||
English translation
Blessed are the soldiers who find their opportunity; this opportunity has opened for thee the gates of heaven.
Shri Purohit Swami — Bhagavad Gita English translation
Commentary
The scriptures declare that if a Kshatriya dies for a righteous cause on the battlefield? he at once goes to heaven.
Swami Sivananda — Bhagavad Gita English commentary (public-domain dataset)