Bloody union battles taught lessons that resonate today