Exactly. Insurance is best thought of as similar to gambling, but functionally the opposite. It's "I'm giving you $x per month knowing that I'm probably going to lose money on this exchange, but in return if I'm hit with y disaster that it would be very difficult to financially recover from then you pay for it".
I get that some people are frustrated by it during financial squeezes, and with liability insurance it can be annoying as it's mandatory. But as someone who's gotten a renter's insurance payout, the relief of "thank fuck I'm not out thousands of dollars while having to deal with this disaster" is immense