hato vā prāpsyasi svargaṁ
jitvā vā bhokṣyase mahīm
tasmād uttiṣṭha kaunteya
hataḥ—being killed; vā—either; prāpsyasi—you gain; svargam—the heavenly kingdom; jitvā—by conquering; vā—or; bhokṣyase—you enjoy; mahīm—the world; tasmāt—therefore; uttiṣṭha—get up; kaunteya—O son of Kuntī; yuddhāya—to fight; kṛta—determination; niścayaḥ—uncertainty.
O son of Kuntī, either you will be killed on the battlefield and attain the heavenly planets, or you will conquer and enjoy the earthly kingdom. Therefore get up and fight with determination.
Even though there was no certainty of victory for Arjuna's side, he still had to fight; for, even being killed there, he could be elevated into the heavenly planets.
Link to this page: https://prabhupadabooks.com/bg/2/37