Not only is it not actually true at all. But even if it were true: “Energy” is always not about creating or destroying it, but about moving or transforming it. A pizza might need more calories to make and bake than it contains as nutrients. But you can’t eat firewood. In the same way, even if a windmill merely functioned as a kind of MWh scale battery for the energy invested into its production, it might still be a worthwhile solution for certain use cases.