
It is not an investment, and comparing it to one misses the point. It is a contract that pays a defined amount at a defined time. The right comparison is against the other ways of meeting that same obligation, not against a market return.
Why it is not that simple: the usual comparison sets the policy's internal rate of return against an equity return and ignores three things. The death benefit is generally paid to a named beneficiary outside the estate. The obligation arrives on a date nobody chooses. And if the insured dies early, the return is not the internal rate at all. It is genuinely a poor choice when it is bought for a temporary need, funded at the minimum, or sold on the investment story rather than the obligation.
What to do instead: name the obligation first, whether that is tax at death, a buyout, or equalising what children receive. Then price every way of meeting it, which may include insurance, a sinking fund, borrowing, or selling an asset. Then compare. Have your accountant confirm the tax treatment.