Expected value in insurance
It turns out that all events have some aspect of risk and value. Insurance companies use this to determine how much to charge you for your premiums. They add up everyone in your reference class, and determine how much it costs them on average in payouts. They then add a little on the top to make a profit, which makes buying insurance net negative (the costs minus the benefits to you) on expectation, just like buying a lottery ticket. However, this doesn’t mean getting insurance is a bad idea! A lot of people don’t like taking on excessive risk (a small chance of becoming bankrupt feels much worse than paying up for insurance you might never need), so buying insurance is rational. Another way to put this is that we have diminishing marginal returns to extra money (or concave utility functions, for the mathematically inclined).
Expected value in philosophy
Pascal’s wager is also an example of using expected value to think about the world. Humans all bet with their lives either that God exists or that he does not. Pascal argues that a rational person should live as though God exists and seek to believe in God. If God does actually exist, such a person will have only a finite loss (some pleasures, luxury, etc.), whereas they stand to receive infinite gains (as represented by eternity in Heaven) and avoid infinite losses (eternity in Hell).