I would sacrifice myself to save all of them!
As horrible as this may sound, it would depend entirely on where these 5 million people are coming from. Are they coming from one country? All around the world? If it is from one country, do I like that country? Is that country important in the scheme of things? Is that country overpopulated?
It also depends on which 5 friends are involved. Is it my best friend? A girlfriend? Someone I've known for years? Someone I've know for awhile but don't really care about?
Some might say, "OMFG WHO ARE YOU TO JUDGE WHO IS WORTH SAVING?!" but I think that's the entire point of the thread. It's up to you to judge your friends and the 5 million people.
Just so I have an answer, if my 5 closest friends were going to die, I'd save them. The world could seriously do with less people, anyway, so I'd be doing Earth a favor.
Couldn't hurt to have the Earth owe you one.
@ Guzzie: Stop telling people to stfu, kid
.