If and when are the same from a risk management perspective... Have you heard of life insurance? 100% of customers will die, the bet is whether they die before the collected premiums exceed payout.
No, actually, a lot of term policies basically bet that you die after the policy expires.
Whole life policies make the bet you are describing. They are a lot more expensive than term policies and you can borrow against them because you are basically putting money into a fund in some sense.
The vast majority of life insurance is absolutely a bet. Many, many life insurance policies are only good if you die on this flight to New Zealand or if you die in a car wreck or if you die in the next five years while still quite young. People buy these things because they are cheap as all fuck because they are long shot bets. Most people won't die on their plane flight or in the next five years while in their 20s or 30s.
And the last line in the comment to which you are replying makes it crystal clear that I have, in fact, heard of life insurance.