The following context really helped me to frame how I view life insurance vs. retirement:
Life insurance is way to ensure security for your family in the eventuality of your dying. Retirement savings is a way to ensure security for yourself in the eventuality that you stop working (i.e. your primary income stream stops).
Thinking about it in this context, life insurance is obviously not a a great investment vehicle for yourself, but perhaps a great one for your family when you are gone. Regarding the retirement savings part, the more income streams you create that will continue to pay you even after you stop working your regular job (i.e. retire), the less you will realistically need to have placed in your retirement accounts. This reshaped how I invest in both my retirement accounts and other investments.