Comparing wizard damage output to Barbarians is a bit odd.
Wizards are like a Swiss army knife, very adaptable. Good at Damage, Crowd control, utilities etc. They are not a primary damage machine. But the cantrips are better than just using a crossbow.
They might do less damage, but the crits...