If you die, you don't have to watch them starve to death next week.
If there's a 90% chance you die storming the compound, a 10% chance you survive storming the compound and obtain food and a 100% chance you die if you don't find food soon, why wouldn't you take the chance at survival?
Because there may be other opportunities out there. If you leave, there may only be 5% chance you'll find other resources to survive. If you die there's 100% chance your kids will die.
If there's a 90% chance you die storming the compound, a 10% chance you survive storming the compound and obtain food and a 100% chance you die if you don't find food soon, why wouldn't you take the chance at survival?