No, the other poster is actually right. In betting on outcomes, there are two roles - bet (“long”) and lay (“short”). An insurance company is exactly a bookmaker; they are buying a bunch of risk and being paid a vig (or in the case of long-duration bets and life insurance, getting the carry) on each of those risks.
This is indistinguishable from insurance, particularly when the beneficiary of insurance isn’t the subject (key-person insurance, for example, which you can view life insurance as a form of).
You’re saying that because these are morally different - which I don’t actually believe, given that options trading is another equivalent form of hedging/speculation, but I will grant - these are different things. But “fire which I use to cook dinner” and “fire which I use to torch a car during a riot” are both fire; the goal is different, but the object used is not. Let’s say I hedge a bunch of political risk by betting on politics. How is that different from buying a custom insurance policy from Lloyd’s or engaging in a bunch of interest rate swaps?
Drawing a distinction between betting and insurance on those lines is the same thing as saying “being long in a stock is morally good, being short in a stock is morally bad”, and I don’t think that position holds up.