A policy of life insurance made payable to one having no insurable interest in the life insured, who pays the premiums thereon, is a wagering contract; and if the amount insured is paid to him under the contract, he holds it for the benefit of the estate of the insured, after deducting the money advanced by him.