system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How did Mexico defeat France when they were clearly outnumbered?
gpt
At the battle of Puebla?  The French weren't ready for a fight, and the Mexicans were.  They had made much better defensive preparations than the French forces expected, so the French attacked expecting an easy victory and weren't able to react when they met stiff resistance.