Think about it this way: on a given year, they are collecting "Sales" amount of money from their pool of customers. For the insurer to make a profit, the amount reimbursed to legit claims simply has to be less than Sales-Expenses that year, which basically translates to having Z customers claims on any given year where Z << NbOfCustomers.
So it's a bit like a Ponzi scheme, whereby you can benefit as a customer if you pay year 1 and get a claim during year 1 or 2 for example, and the insurer can benefit too if many customers pay "a year in advance" (money that can be invested) before having their claims fall on years 2 or 3 (or never).