The board's mistake was not figuring out a way to go public with their case against Sam when or before they fired him. They obviously misjudged how he would respond. But even there we don't know the full context and constraints they were under. Hopefully, one of them will answer that question of why they didn't at some point, but until we know more, we would be wise to reserve judgement.