Might somewhat stretch the 'military' portion, but seems appropriate:
To continue the Frenchy-Frenchness with more directly military application:
"La garde meurt et ne se rend pas!" ("The Guard dies but does not surrender!")
-General Cambronne or General Michel (disputed) in response to...