This matches the historical and in-practice role of the insurer: they try to keep you from overinsuring things, or insuring things you don't have an interest in preventing from happening ("insurable interest"). Both of these create a so-called "moral hazard", the same category that make gambling bad, and vastly increases the fraud they have to deal with.
[1] or rather "the kinds of risk transfer we want to allow" vs those we don't