what was the ultimate goal of the confederate states that allowed them a military advantage during the civil war