There is no symphony in the standard repertoire nicknamed the "Military Symphony." The confusion almost certainly stems from Beethoven's Symphony No. 5 in C minor, Op. 67, which carries the famous nickname "Fate Symphony" (or "Schicksalssinfonie" in German).
The moniker originates from Beethoven's alleged remark to his biographer Anton Schindler: the symphony's iconic four-note opening motif—short-short-short-long (G–G–G–E♭)—represents "fate knocking at the door." Whether Beethoven actually said this is debated, but the interpretation has stuck for two centuries.
Several works do have military associations that could cause mix-ups:
Beethoven's Fifth is not martial—it's existential. The trajectory from C minor darkness to C major triumph in the finale maps a spiritual journey, not a battlefield. The "fate" motif permeates all four movements, transformed from ominous knocking to victorious proclamation. It's one of music's most powerful narratives of struggle and transcendence—no soldiers required.