While serving in the military does not guarantee that you will be an honorable president, it is a pretty good predictor. The presidents who did the most harm to our American ideals never served - Wilson, FDR, and Clinton.
LBJ did a lot of harm too, and he barely served.