Here we have two players, the first player has a plan to win a a million dollars, but for the plan to work, the second player needs to cooperate, if he doesn't everything is lost. The plan is perfectly safe, legal, and requires almost no work on the second player part.
In order to ensure the second player cooperation, the first player suggests splitting the earnings.
In theory, the first player only needs to split $999999/$1. $1 is better than nothing for the second player, so if he was perfectly selfish and rational, he would accept the offer. In practice it is not how it works, the proposal is usually fair (close to 50/50), and proposals less than 70/30 are often refused, even though a refusal means no one gets to earn anything.
So it show that we are not completely rational and selfish here.