There are too many unknown variables here to give you good advice, but in general, this is a math/budgeting problem.
Here's how I thought of it myself, from a Mustachian perspective.
Our FIRE number is $1.5M. We'll be there in 15 years at the latest, at which point we are fully self-insured and don't need life insurance anymore. Right now we're a little less than halfway there, so the "gap" we need to cover with insurance is about $750k. And survivor benefits for both of our children would be about $32k a year, or about half our expenses, until they turn 18.
So if we died tomorrow, the children would have $32k a year in survivor benefits until 18 and $32k in 4% rule from our assets, which is PLENTY to support them. So basically, we don't need life insurance for the scenario where we both die.
However, if one of us were to die, we wanted a situation that doesn't preclude FIRE for the other person, plus some breathing room for the surviving spouse to do whatever they need to do to survive/thrive as a widow and single parent. So for us, that means that we close the gap to FIRE left by our lost wages, and social security survivors benefits become that breathing room. So the amount of insurance we "need" is $250k for me and $500k for DW for a 15 year term. We actually have more than that, because we were further from our FIRE goal when we purchased life insurance, but if I were buying now, that's what I'd get.