The German army was far, far, far superior to the French army.
Not really. The French army was the fourth strongest in the world, and had modernized everything. The Germans were horribly outnumbered. It was the Frenches choice to just sit behind their Maginot line that caused their defeat, and their poor leadership that created their occupation.

Want some fun? Go to google, type in "French Military Victories" and hit "I'm feeling lucky".