The French Foreign legion is not a mercenary organization.
"The French Foreign Legion (French: Légion étrangère) is a corps of the French Army which comprises several specialties: infantry, cavalry, engineers, airborne troops.[8] It was created in 1831 to allow foreign nationals into the French Army.[9] It formed part of the Armée d’Afrique, the French Army's units associated with France's colonial project in Africa, until the end of the Algerian war in 1962.[10]"
https://en.wikipedia.org/wiki/French_Foreign_Legion