The reality is that about half the froggies in WWII were sympathetic to National Socialism and half of that number welcomed the German Occupation ... hence their less than stellar performance.
In 1940 the quality parts of the French Army (which was most of it) performed well. They kicked the living crap out of the German tanks they met in central Belgium; destroyed hundreds of them.
The problem was the main German attack fell on the non-quality parts of the French Army. It wasn't an issue of the French not wanting to fight or being sympathetic to the Nazis; they simply lost because they had a bad plan and the Germans managed to come up with the perfect plan to exploit the bad French plan at the last minute.