That the Schlieffen plan failed, The French were unable to defeat the Germans completely at the Battle of the Marne.
I believe the greatest reason for Nazi defeat was "Operation Barbarossa," which violated the Nazi-Soviet Non-Aggression Pact. I think Nazi Germany wasn't ready for a war with the Soviet and this is proven by the Nazi's underestimation that the Soviet Union was weak.