The tune is the French song “Malbrough s'en va-t-en guerre”. Beethoven used it for the defeated French army in Wellington's Victory (1813).