Wizards are surprisingly squishy in the Potterverse... like, a punch to the mouth, or grabbing their wand before they speak, or shooting at them would easily take them down...
They do have defensive spells that could make them bulletproof, but very few bother to learn them... hell, Harry had to learn basic defensive spells on his own, and his foes never use them...
The main reason behind Wizard superiority is that muggles can't know who is a Wizard with a wand in their pocket, and they can even make themselves invisible and erase nemories, so muggles don't even know they have a rival to beat...
If Wizards were smarter and more disciplined then yes, they could beat muggles easily even if a fair fight, but Harry Potter's Wizards are a bunch of lazy, ignorant, chauvinist hicks who can't be bothered to learn basic defensive spells during a magical war...