I always sigh when I see people abusing France for being crap at fighting.
It was kind of funny in the 80s, but since then it's just gotten tired. It's gone from a bit of a ribbing at them for 20th century world wars to some kind of accepted wisdom from stupid people. The joke wasn't that France was bad at fighting, they never were. They just didn't have a good patch between the Franco-Prussian war (which formed Germany) and WW2. France, historically is an extremely colonial nation, and they were the terrors of Europe for hundreds of years.
By all accounts Germany are not the military nation stupid people seem to think they are. They were part of the Holy Roman Empire, but mainly they were ruled from outside of what is now Germany, and then they shattered into lots of small nations dominated by Austria, and it was only under Prussia that they came to any collective significance - coincidentally at the expense of France.