It's like, if you're on a ship, and you're sailing towards your destination, but the ship sinks: that doesn't mean that you have to sink. Just because the ship sinks doesn't mean you have to sink. You just figure it out until a raft comes along, and God will send you a raft. Or He'll send you another boat to get you to your destination.