未雨绸缪

Keep something for a rainy day.未雨绸缪。