That depends on what ending you're going for, but yes, if you're losing, then you can improve by building up the settlement. It's also possible just to rush exploration if you plan to fight your way out.