Sorry. It is a quote from an observer of the Charge of the Light Brigade, in the Crimean War. People use it when referring to dashing, but doomed, enterprises. It's meant to be slightly amusing.
Rob