While swearing fealty to the Prophet ﷺ we did not take the oath to death but that we would not run away (from the battlefield). (Using translation from Muslim 1856b)
سَمِعَ جَابِرًا يَقُولُ لَمْ نُبَايِعِ النَّبِيَّ ﷺ عَلَى الْمَوْتِ إِنَّمَا بَايَعْنَاهُ عَلَى أَنْ لَا نَفِرَّ