yes, France has won a lot of wars. France and England basically divided most of the world between themselves at one point. Germany being a distant runner up.
But on the other hand Groundskeeper Willie on The Simpsons said a funny thing one time so Americans now think they must be wimps.
It is a whole lot more complicated than a Simpsons joke. While it is still pretty much completely unwarranted, French bashing has been a thing that started way earlier in history. Check this Reddit thread for a well documented summary : https://www.reddit.com/r/AskHistorians/comments/vmkpr1/when_...
No, it's a joke about how Americans are so ignorant about history and the rest of the world that they form their worldview entirely based on memes and pop-culture references, and the Simpsons is where the phrase "cheese eating surrender-monkeys" came from.
But on the other hand Groundskeeper Willie on The Simpsons said a funny thing one time so Americans now think they must be wimps.