Most parents would want the best for their children even if it means sacrificing their lives. We hear all the time how parents say they don't want their children to go through the same struggles they went through, because the dream is to give your kids a healthy foundation and a better life than yours.
Of course, things don't always turn out perfect but at least, we know that the good parents did their best. And the best way to have kids who grow up to be stable adults is to lay the plan even before they are conceived.