ESRB rating question

I don’t want anyone to die in the game for the most part, well… At the very end of the game the main character may die in one of the questlines when he/she crashes his/her ship, any form of death makes it above E? Eventually I’d like to take it to console if I can. Disney has tons of people dying and they get G ratings somehow. Mario jumps on Goomba’s heads and kills Bowser every game too.