Imagine you are flying a small aircraft by yourself. You see a nuclear missile coming right at your airplane. You know what it is, and you have enough time to dodge it. However, if you dodge it, 500,000,000 people die. If you choose to hit it, you save the 500,000,000 people, but you die.
Would it be, theoretically, morally correct to kill yourself to save countless other lives?